Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
94241 | 颜学俊逸 | 04保留两位小数 | C++ | Wrong Answer | 1 MS | 276 KB | 463 | 2024-10-20 10:00:22 |
#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("%1f %1f",&a,&b); printf("%.2lf",a/b); return 0; }
------Input------
6.2 3.1
------Answer-----
2.00
------Your output-----
225.06