Pagini recente » Borderou de evaluare (job #2396771) | Borderou de evaluare (job #1251856) | Borderou de evaluare (job #797930) | Borderou de evaluare (job #440847) | Borderou de evaluare (job #1189719)
Borderou de evaluare (job #1189719)
Raport evaluator
Compilare:
user.cpp: In function ‘void readfile(dot*, int&, int&)’:
user.cpp:27:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘s* {aka short int*}’ [-Wformat=]
fscanf(in, "%i %i", &V[i].x, &V[i].y);
^
user.cpp:27:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘s* {aka short int*}’ [-Wformat=]
user.cpp: In function ‘void unu(FILE*, int)’:
user.cpp:46:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘s* {aka short int*}’ [-Wformat=]
fscanf(in, "%i %i", &here.x, &here.y);
^
user.cpp:46:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘s* {aka short int*}’ [-Wformat=]
user.cpp: In function ‘void readfile(dot*, int&, int&)’:
user.cpp:21:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d\n%d", &P, &N);
^
user.cpp:27:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%i %i", &V[i].x, &V[i].y);
^
user.cpp: In function ‘void unu(FILE*, int)’:
user.cpp:46:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%i %i", &here.x, &here.y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 424kb | Fisier de iesire lipsa | 0 |
2 | 20ms | 424kb | Fisier de iesire lipsa | 0 |
3 | 408ms | 460kb | Fisier de iesire lipsa | 0 |
4 | 268ms | 448kb | Fisier de iesire lipsa | 0 |
5 | 44ms | 428kb | Fisier de iesire lipsa | 0 |
6 | Depăşit | 800kb | Time limit exceeded. | 0 |
7 | Depăşit | 996kb | Time limit exceeded. | 0 |
8 | Depăşit | 648kb | Time limit exceeded. | 0 |
9 | Depăşit | 1080kb | Time limit exceeded. | 0 |
10 | Depăşit | 1188kb | Time limit exceeded. | 0 |
11 | Depăşit | 1184kb | Time limit exceeded. | 0 |
12 | 0ms | 432kb | OK | 5 |
13 | 60ms | 440kb | OK | 5 |
14 | Depăşit | 480kb | Time limit exceeded. | 0 |
15 | Depăşit | 492kb | Time limit exceeded. | 0 |
16 | Depăşit | 572kb | Time limit exceeded. | 0 |
17 | Depăşit | 728kb | Time limit exceeded. | 0 |
18 | Depăşit | 472kb | Time limit exceeded. | 0 |
19 | Depăşit | 428kb | Time limit exceeded. | 0 |
20 | 288ms | 436kb | OK | 5 |
Punctaj total | 15 |