Pagini recente » Borderou de evaluare (job #2293904) | Borderou de evaluare (job #1958091) | Borderou de evaluare (job #1948871) | Borderou de evaluare (job #372607) | Borderou de evaluare (job #1678728)
Borderou de evaluare (job #1678728)
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:56: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 | 1052kb | Time limit exceeded. | 0 |
2 | 0ms | 476kb | Raspuns gresit | 0 |
3 | Depăşit | 1048kb | Time limit exceeded. | 0 |
4 | Depăşit | 1048kb | Time limit exceeded. | 0 |
5 | 0ms | 472kb | Raspuns gresit | 0 |
6 | 0ms | 480kb | Raspuns gresit | 0 |
7 | 0ms | 476kb | Raspuns gresit | 0 |
8 | 0ms | 476kb | Raspuns gresit | 0 |
9 | Depăşit | 724kb | Time limit exceeded. | 0 |
10 | Depăşit | 824kb | Time limit exceeded. | 0 |
11 | 4ms | 500kb | Raspuns gresit | 0 |
12 | Depăşit | 968kb | Time limit exceeded. | 0 |
13 | Depăşit | 948kb | Time limit exceeded. | 0 |
14 | 0ms | 496kb | Raspuns gresit | 0 |
15 | 0ms | 472kb | Raspuns gresit | 0 |
16 | 0ms | 472kb | Raspuns gresit | 0 |
17 | Depăşit | 1048kb | Time limit exceeded. | 0 |
18 | Depăşit | 1044kb | Time limit exceeded. | 0 |
19 | Depăşit | 976kb | Time limit exceeded. | 0 |
20 | 0ms | 476kb | Raspuns gresit | 0 |
Punctaj total | 0 |