Pagini recente » Borderou de evaluare (job #2697201) | Borderou de evaluare (job #2394296) | Borderou de evaluare (job #1288765) | Borderou de evaluare (job #3120135) | Borderou de evaluare (job #2058738)
Borderou de evaluare (job #2058738)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d\n",h);
^
user.cpp:38:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d S\n",h);
^
user.cpp:40:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d S",h-Q.front().first);
^
user.cpp:41:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
else fprintf(OUT,"%d D",Q.front().first-h);
^
user.cpp:45:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d D\n",Q.front().first-h);
^
user.cpp:46:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d D",-h);
^
user.cpp:20:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&N);
^
user.cpp:23:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d %c",&X,&C);
^
user.cpp:31:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&X);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 36ms | 1576kb | Raspuns gresit | 0 |
2 | 0ms | 444kb | OK | 5 |
3 | 36ms | 1576kb | Raspuns gresit | 0 |
4 | 36ms | 1576kb | Raspuns gresit | 0 |
5 | 0ms | 444kb | OK | 5 |
6 | 0ms | 440kb | OK | 5 |
7 | 0ms | 440kb | OK | 5 |
8 | 0ms | 444kb | OK | 5 |
9 | 12ms | 784kb | OK | 5 |
10 | 12ms | 996kb | OK | 5 |
11 | 0ms | 464kb | OK | 5 |
12 | 28ms | 1312kb | OK | 5 |
13 | 28ms | 1312kb | OK | 5 |
14 | 0ms | 460kb | OK | 5 |
15 | 0ms | 444kb | OK | 5 |
16 | 0ms | 444kb | OK | 5 |
17 | 36ms | 1576kb | OK | 5 |
18 | 36ms | 1576kb | OK | 5 |
19 | 24ms | 1312kb | OK | 5 |
20 | 0ms | 440kb | OK | 5 |
Punctaj total | 85 |