牛客254520193号
牛客254520193号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客254520193号的博客
全部文章
(共71篇)
题解 | Hello Nowcoder
#include <iostream> //cout输出,cin输入。<stdio>printf,scanf using namespace std; //#include <stdio.h> int main(){ //cout=0; cout...
2026-03-31
0
11
题解 | 绕距
#include <stdio.h> #include <math.h> int main(){ int x1,y1,x2,y2; double de,dm,derta; scanf("%d %d %d %d",&x1,&a...
2026-02-14
0
21
题解 | 温标转换
#include <stdio.h> int main(){ double f,c,k; scanf("%lf",&k); c=k-273.15; f=c*1.8+32; printf("%lf",f...
2026-02-14
0
36
题解 | 反向输出一个四位数
#include <stdio.h> int main() { int n; scanf("%d", &n); // 从低位到高位依次输出 for (int i = 4; i > 0; i--) { p...
2026-02-14
1
27
题解 | 整数的十位
#include <stdio.h> int a,b,c; int main(){ scanf("%d",&a); b=a%100; c=b/10; printf("%d",c); return 0;...
2026-02-09
0
34
题解 | 整数的个位
#include <stdio.h> int a,b; int main(){ scanf("%d",&a); b=a%10; // 1234=123*10+4 printf("%d",b); ret...
2026-02-09
0
29
题解 | 计算带余除法
#include <stdio.h> int a,b,c,remainder; float Commerce,decimals; int main(){ scanf("%d %d",&a,&b); c=a/b; Commerce...
2026-02-09
0
27
题解 | 疫情死亡率
#include <stdio.h> float died,c,d; int main(){ scanf("%f %f",&c,&d); //scanf中必须加&(传递变量地址,让函数能修改变量值); //printf中...
2026-02-09
0
30
题解 | 复读机
#include <stdio.h> int a; long long b;//%lld float c; char d,e[1000000000]; // signed char 1 -128~+127 // short int 2 -32768~+32767 // int 4 ...
2026-02-02
0
30
题解 | 牛牛学说话之-字符串
#include <stdio.h> //char s[10**4]; //无内置运算符,用 pow()函数 // #include <math.h> // char s[pow(10,4)]; // pow(10,4)是一个函数调用,在运行时计算 // 数组大小必须在编译...
2026-02-02
0
28
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页