Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
94242 | 颜学俊逸 | 04保留两位小数 | C++ | Accepted | 0 MS | 268 KB | 463 | 2024-10-20 10:00:55 |
#include<iostream> using namespace std; int main(){ /** int a; char b; float c; double d; long long e; scanf("%d %c %f %lf %lld",&a,&b,&c,&d,&e); int a,b,c,d,e; scanf("%1d%1d%1d%1d%1d",&a,&b,&c,&d,&e); cout<<e<<d<<c<<b<< float a; printf("%s","hello,world\n"); printf("%s%s%s%s%s","*\n","**\n","***\n","****\n","*****\n"); int a,b; a=1; b=2; **/ double a,b; scanf("%lf %lf",&a,&b); printf("%.2lf",a/b); return 0; }