| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67363 | 李明择 | 11加密规则 | C++ | Compile Error | 0 MS | 0 KB | 354 | 2024-03-16 14:26:33 |
# include<iostream> # include<cmath> using namespace std; int main(){ int a,b,c,d,e,f; scanf("&1d&1d&1d&1d&1d&1d",&a,&b,&c,&d,&e,&f) cout<<char(a+'A'); c=a+b+c; f=c+d+e+f; if(b%2==0){ b = b/2; } cout<<b; cout<<c%10; cout<<d; e=e+'l'+'e'; e=e/10%10; cout<<e; cout<<f%10; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:49: warning: too many arguments for format [-Wformat-extra-args]
scanf("&1d&1d&1d&1d&1d&1d",&a,&b,&c,&d,&e,&f)
^
Main.cc:7:5: error: expected ';' before 'cout'
cout<