Pagini recente » Borderou de evaluare (job #2427654) | Borderou de evaluare (job #1683706) | Borderou de evaluare (job #188637) | Borderou de evaluare (job #725833) | Borderou de evaluare (job #1678712)
Borderou de evaluare (job #1678712)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:18:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:55:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",sum/2);
^
user.cpp:57: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:58: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:60: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:61: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:13: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:14: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:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:21: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 | 1048kb | Time limit exceeded. | 0 |
2 | 0ms | 476kb | OK | 5 |
3 | Depăşit | 1048kb | Time limit exceeded. | 0 |
4 | Depăşit | 1048kb | Time limit exceeded. | 0 |
5 | 0ms | 476kb | Primul numar corect | 1 |
6 | 0ms | 476kb | Primul numar corect | 1 |
7 | 0ms | 480kb | OK | 5 |
8 | 0ms | 476kb | Primul numar corect | 1 |
9 | Depăşit | 724kb | Time limit exceeded. | 0 |
10 | Depăşit | 824kb | Time limit exceeded. | 0 |
11 | 4ms | 500kb | OK | 5 |
12 | Depăşit | 964kb | Time limit exceeded. | 0 |
13 | Depăşit | 948kb | Time limit exceeded. | 0 |
14 | 0ms | 492kb | Primul numar corect | 1 |
15 | 0ms | 476kb | OK | 5 |
16 | 0ms | 476kb | OK | 5 |
17 | Depăşit | 1048kb | Time limit exceeded. | 0 |
18 | Depăşit | 1044kb | Time limit exceeded. | 0 |
19 | Depăşit | 980kb | Time limit exceeded. | 0 |
20 | 0ms | 468kb | OK | 5 |
Punctaj total | 34 |