忆秋尘飞
忆秋尘飞
全部文章
分类
归档
标签
去牛客网
登录
/
注册
忆秋尘飞的博客
全部文章
(共33篇)
题解 | #牛牛学取余#
#include <stdio.h> int main() { int a, b; scanf("%d%d",&a,&b); printf("%d",a%b); return 0; }
2024-04-28
1
181
题解 | #牛牛学除法#
#include <stdio.h> int main() { int a, b; scanf("%d%d",&a,&b); printf("%d",a/b); return 0; }
2024-04-28
1
182
题解 | #牛牛学加法#
#include <stdio.h> int main() { int a, b; scanf("%d%d",&a,&b); printf("%d",a+b); return 0; }
2024-04-28
1
149
题解 | #大小写转换#
#include <stdio.h> int main() { char a; while (scanf("%c", &a) != EOF) { if(a>='a'&&a<='z') ...
2024-04-18
1
154
题解 | #出生日期输入输出#
#include <bits/stdc++.h> using namespace std; int main() { int y,m,d; scanf("%4d%2d%2d",&y,&m,&d); printf("year...
2024-04-18
1
165
题解 | #按照格式输入并交换输出#
#include <stdio.h> int main() { unsigned long long a, b,temple; scanf("a=%lld,b=%lld",&a,&b); temple=a; a=b; b=temple; printf(...
2024-04-18
1
157
题解 | #学生基本信息输入输出#
#include <stdio.h> double key( double e) { if((int)(e*1000)%10>=5) { e=(int)(e*100)/100.00+0.01; } else { e=(int)(e*100)/100.00; } re...
2024-04-18
1
155
题解 | #成绩输入输出#
#include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; printf("score1=%d,score2=%d,score3=%...
2024-04-18
1
100
题解 | #实现四舍五入#
#include <iostream> using namespace std; int main() { double a; int c; scanf("%lf",&a); if((int)(a*10)%10>=5&&a>0...
2024-04-18
1
123
题解 | #字符转ASCII码#
#include <stdio.h> int main() { char a; scanf("%c",&a); printf("%d",a); return 0; }
2024-04-15
1
121
首页
上一页
1
2
3
4
下一页
末页