题解列表
星期判断机(( •̀ ω •́ )✧)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int n;
scanf("%d",&n);
switch(n)
{
cas……
判断闰年(宏定义,给自己找找乐子)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#define YEAR(a) a%100?(a%4?'N':'Y'):(a%400?'N&……
编写题解 2847: 找第一个只出现一次的字符
摘要:解题思路:注意事项:参考代码:a = input()Is = Falsefor i in a: if a.count(i) == 1: print(i) Is = T……
编写题解 2835: 计算书费
摘要:解题思路:注意事项:参考代码:price = (28.9, 32.7, 45.6, 78, 35, 86.2, 27.8, 43, 56, 65)quantity = tuple(map(int, i……
C语言考试练习题_一元二次方程
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<math.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&……