牛客193971283号
牛客193971283号
全部文章
分类
题解(48)
归档
标签
去牛客网
登录
/
注册
牛客193971283号的博客
全部文章
(共48篇)
题解 | #判断两个数的大小关系#
int main() { int a = 0; int b = 0; while ((scanf ("%d %d",&a,&b)) != EOF) { if (a == b) { printf (...
C
2022-04-12
5
662
题解 | #字母大小写转换#
int main() { char ch = '0'; while ((scanf ("%c",&ch)) != EOF) { if (ch >= 'A' && ch <= 'Z') { ...
C
2022-04-12
2
374
题解 | #判断是不是字母#
int main() { char a = '0'; while ((scanf ("%c",&a)) != EOF) { if (( a <= 'z' && a >= 'a')||(a <= 'Z' &&am...
C
2022-04-11
0
233
题解 | #判断是元音还是辅音#
int main() { char a = '0'; while ((scanf ("%c",&a)) != EOF) { if ((a >= 'A' && a <= 'Z') || (a >= 'a' &&a...
C
2022-04-11
0
218
题解 | #最高分数#
#define A 3 int main() { int grades [A] ={0}; int i = 0; int max = 0; for (i = 0;i < A;i++) { scanf ("%d",&grades[...
C
2022-04-11
0
239
题解 | #及格分数#
int main() { int grade = 0; while ((scanf ("%d",&grade)) != EOF) { if (grade >= 60) { printf ("Pass\n")...
C
2022-04-11
0
238
题解 | #完美成绩#
int main() { int grade = 0; while ((scanf ("%d",&grade)) != EOF ); if (grade >= 90 && grade <= 100) { printf...
C
2022-04-11
0
320
题解 | #争夺前五名#
#include <stdio.h> #define A 50 void we(int grade[A], int b) { int n = 0; for (n = 0; n < b; n++) { for (int j = n + 1; j < b; j++) ...
C
2022-04-11
0
275
题解 | #健康评估#
int main() { float price = 0.0; int month = 0; int day =0; int a =0; scanf ("%f %d %d %d",&price,&month,&day,&a); ...
C
2022-04-09
0
234
题解 | #判断字母#
int main() { char a = 0; scanf ("%c",&a); if((a >= 'A' && a <= 'Z')||(a >= 'a' && a <= 'z')) { ...
C
2022-04-09
0
226
首页
上一页
1
2
3
4
5
下一页
末页