题解列表

筛选

最普通的解题方法

摘要:解题思路:注意事项:注意将条件考虑完整参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d %d",&a,&b);    if(0<=a……

可以稍微少打一些代码

摘要:解题思路:注意事项:不要忘记switch语句的花括号参考代码:#include<stdio.h>int main(){    int a;    scanf("%d",&a);    switch(a……

注意细节!!!!

摘要:解题思路:注意事项:一定要主要好细节!!!参考代码:#include<stdio.h>int main(){    float x;    scanf("%f",&x);    if(0<=x&&x<……