Pagini recente » Borderou de evaluare (job #1933938) | Borderou de evaluare (job #2677024) | Borderou de evaluare (job #3150562) | Monitorul de evaluare | Borderou de evaluare (job #1678726)
Borderou de evaluare (job #1678726)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:19:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:27:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",sum/2);
^
user.cpp:58:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d S\n",-t[ker][0]);
^
user.cpp:59:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
else printf("%d D\n",t[ker][0]);
^
user.cpp:61:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d S\n",-t[ker][1]);
^
user.cpp:62:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
else printf("%d D\n",t[ker][1]);
^
user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vase.in","r",stdin);
^
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vase.out","w",stdout);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 1072kb | Time limit exceeded. | 0 |
| 2 | 0ms | 480kb | OK | 5 |
| 3 | Depăşit | 1072kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 1068kb | Time limit exceeded. | 0 |
| 5 | 0ms | 472kb | Primul numar corect | 1 |
| 6 | 0ms | 476kb | Primul numar corect | 1 |
| 7 | 0ms | 480kb | Primul numar corect | 1 |
| 8 | 0ms | 468kb | Primul numar corect | 1 |
| 9 | Depăşit | 752kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 848kb | Time limit exceeded. | 0 |
| 11 | 4ms | 500kb | Primul numar corect | 1 |
| 12 | Depăşit | 992kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 976kb | Time limit exceeded. | 0 |
| 14 | 0ms | 500kb | Primul numar corect | 1 |
| 15 | 0ms | 480kb | Primul numar corect | 1 |
| 16 | 0ms | 476kb | OK | 5 |
| 17 | Depăşit | 1072kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1068kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1000kb | Time limit exceeded. | 0 |
| 20 | 0ms | 476kb | OK | 5 |
| Punctaj total | 22 |