蟑螂恶霸0
蟑螂恶霸0
全部文章
分类
题解(25)
归档
标签
去牛客网
登录
/
注册
蟑螂恶霸0的博客
全部文章
(共17篇)
题解 | #小乐乐排电梯#
#include<stdio.h> int main () { int n = 0; int s = 0; &n...
C
2022-04-02
17
910
题解 | #小乐乐定闹钟#
#include<stdio.h> int main() { int a = 0; int b = 0; int c = 0; scanf("%d:%d %d",&a,&b,&c); a = (a + (b + c) / 60) % 24; b = (b + c)...
C
2022-04-02
1
304
题解 | #牛牛的球#
#include<stdio.h> int main() { int r = 0; float a = 0; scanf("%d",&r); a = (4.0/3)3.14rrr; printf("%f",a); return 0; }
C
2022-04-02
0
414
题解 | #牛牛的并联电路#
#include<stdio.h> int main() { float r1=0; float r2=0; float zhi=0; scanf("%f %f",&r1,&r2); zhi=1.0/(1/r1+1/r2); printf("%f",zhi); retur...
C
2022-04-02
0
365
题解 | #计算三角形的周长和面积#
#include<stdio.h> int main () { float a,b,c; scanf("%f %f %f",&a,&b,&c); float z=a+b+c; float p = z/2.0; float s=sqrt(p*(p-a)(p-b)(p...
C
2022-04-01
0
309
题解 | #2的n次方计算#
#include<stdio.h> int main() { int n = 0; float arr[100] = { 0 }; scanf("%d", &n); int i = 0; float max = 0; float min = 100; float sum = 0;...
C++
2022-04-01
1
301
题解 | #时间转换#
#include<stdio.h> int main () { int secinds = 0; int a = 0; scanf("%d",&secinds); a = secinds / 3600; printf("%d ",a); int b = (secinds % 36...
C++
C
2022-03-31
0
321
题解 | #整数的个位#
#include<stdio.h> int main() { int a = 0; scanf("%d",&a); while(a>10) { a = a % 10; } printf("%d",a); return 0; 链接}
C
2022-03-30
0
374
题解 | #出生日期输入输出#
#include<stdio.h> int main() { int ye=0; int mon=0; int dat=0; if(1990<=ye<=2015&&1<=mon<=12&&1<=dat<=30) { sc...
C
2022-03-28
0
306
题解 | #学生基本信息输入输出#
#include<stdio.h> int main () { int id = 0; float c = 0; float mat = 0; float eng = 0; scanf("%d;%f,%f,%f",&id,&c,&mat,&eng); pr...
C
2022-03-28
0
376
首页
上一页
1
2
下一页
末页