Pagini recente » Borderou de evaluare (job #443155) | Borderou de evaluare (job #2442834) | Borderou de evaluare (job #2526772) | Borderou de evaluare (job #291164) | Borderou de evaluare (job #2240346)
Borderou de evaluare (job #2240346)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&N);
^
user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d ",&A[0][i]);
^
user.cpp:23:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&X);
^
user.cpp:25:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d\n",Up);
^
user.cpp:31:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
if(St>0) fprintf(fout,"%d S\n",St);
^
user.cpp:32:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
else fprintf(fout,"%d D\n",-St);
^
user.cpp:33:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
if(Dr>=0) fprintf(fout,"%d S",Dr);
^
user.cpp:34:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
else fprintf(fout,"%d D",-Dr);
^
user.cpp:39:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
if(St>0) fprintf(fout,"%d D\n",St);
^
user.cpp:40:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
else fprintf(fout,"%d S\n",-St);
^
user.cpp:41:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
if(Dr>=0) fprintf(fout,"%d D",Dr);
^
user.cpp:42:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
else fprintf(fout,"%d S",-Dr);
^
user.cpp:14:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&N);
^
user.cpp:17:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d ",&A[0][i]);
^
user.cpp:23:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&X);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 36ms | 2212kb | Raspuns gresit | 0 |
2 | 0ms | 816kb | OK | 5 |
3 | 40ms | 2212kb | Raspuns gresit | 0 |
4 | 40ms | 2216kb | Raspuns gresit | 0 |
5 | 0ms | 800kb | Primul numar corect | 1 |
6 | 0ms | 880kb | Primul numar corect | 1 |
7 | 0ms | 884kb | OK | 5 |
8 | 0ms | 876kb | Primul numar corect | 1 |
9 | 12ms | 1284kb | Primul numar corect | 1 |
10 | 16ms | 1440kb | OK | 5 |
11 | 0ms | 876kb | OK | 5 |
12 | 32ms | 1920kb | Primul numar corect | 1 |
13 | 32ms | 1872kb | OK | 5 |
14 | 0ms | 808kb | Primul numar corect | 1 |
15 | 0ms | 756kb | OK | 5 |
16 | 0ms | 872kb | OK | 5 |
17 | 40ms | 2212kb | Primul numar corect | 1 |
18 | 40ms | 2196kb | OK | 5 |
19 | 28ms | 1952kb | OK | 5 |
20 | 0ms | 876kb | OK | 5 |
Punctaj total | 57 |