Pagini recente » Borderou de evaluare (job #27615) | Borderou de evaluare (job #67480) | Borderou de evaluare (job #2803133) | Borderou de evaluare (job #1334) | Borderou de evaluare (job #1744293)
Borderou de evaluare (job #1744293)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&p);
^
user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&v);
^
user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:121:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d %d\n",linie,coloana,inaltime);
^
user.cpp:121:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:121:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:156:19: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
y=n<<1+(n-2)<<1;
^
user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cub2.in","r",stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cub2.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&v);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | Corect | 2 |
| 2 | 0ms | 272kb | Corect | 2 |
| 3 | 0ms | 292kb | Corect | 2 |
| 4 | 0ms | 316kb | Corect | 2 |
| 5 | 0ms | 352kb | Corect | 2 |
| 6 | 0ms | 364kb | Corect | 2 |
| 7 | 0ms | 404kb | Corect | 2 |
| 8 | 0ms | 412kb | Corect | 2 |
| 9 | 0ms | 420kb | Corect | 2 |
| 10 | 0ms | 424kb | Corect | 2 |
| 11 | 0ms | 272kb | Corect | 8 |
| 12 | 0ms | 272kb | Corect | 8 |
| 13 | 0ms | 336kb | Corect | 8 |
| 14 | 0ms | 448kb | Corect | 8 |
| 15 | 4ms | 720kb | Corect | 8 |
| 16 | 52ms | 2320kb | Corect | 8 |
| 17 | 136ms | 3504kb | Corect | 8 |
| 18 | 252ms | 5076kb | Corect | 8 |
| 19 | 324ms | 6060kb | Corect | 8 |
| 20 | Depăşit | 8052kb | Time limit exceeded. | 0 |
| Punctaj total | 92 |