| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 152001 | 令狐文丽 | 04四位数移位 | C++ | Accepted | 1 MS | 276 KB | 492 | 2026-04-19 14:27:08 |
#include<bits/stdc++.h>//万能头//iostream using namespace std; int main() { int a,b; scanf("%3d%1d",&a,&b); //printf("%.2f"); cout<<b<<a; /** float a; //cin>>a; scanf("%d",&a); //a保留两位小数 cout<<fixed<<setprecision(2); //fixed 告诉计算机输出格式 2 cout<<a; //printf("%.2f",a);//"%d",a(int) "%f",a{float) "%lf",a(double) "%lld",a(long long) //"%c",a(char) "%s",a(char) //cout<<a; //默认输出小数点后五位**/ return 0; }