| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 114935 | 万嘉宇 | 05买水果 | C++ | Compile Error | 0 MS | 0 KB | 405 | 2025-03-25 18:19:37 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b,c; scanf("%1d%1d%1d",&a,&b,&c); printf("%.3d",(a+b+c)/3); return 0; }l'l'l'l'l'l'l'l'l'l'l'l'l'l'l'l'l'l'llllllllllllllllllll
Main.cc:12:2: error: 'l' does not name a type
}l'l'l'l'l'l'l'l'l'l'l'l'l'l'l'l'l'l'llllllllllllllllllll
^
Main.cc: In function 'int main()':
Main.cc:9:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%1d%1d%1d",&a,&b,&c);
^