Borderou de evaluare (job #1302592)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:39:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, hheads;
^
user.cpp: In function ‘int main()’:
user.cpp:84:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &story[i].time, &story[i].heads);
^
user.cpp:84:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:78:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in", "rt", stdin);
^
user.cpp:79:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out", "wt", stdout);
^
user.cpp:81:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &p, &k);
^
user.cpp:84:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &story[i].time, &story[i].heads);
^
user.cpp:88:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | OK | 10 |
2 | 0ms | 304kb | Incorect | 0 |
3 | 72ms | 756kb | OK | 10 |
4 | Depăşit | 792kb | Time limit exceeded. | 0 |
5 | 8ms | 488kb | Incorect | 0 |
6 | 0ms | 356kb | OK | 10 |
7 | 0ms | 396kb | OK | 10 |
8 | 0ms | 308kb | OK | 10 |
9 | 48ms | 708kb | OK | 10 |
10 | 52ms | 680kb | OK | 10 |
Punctaj total | 70 |