Borderou de evaluare (job #2511786)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int, char)':
main.cpp:24:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:50:43: warning: too many arguments for format [-Wformat-extra-args]
printf("1\n" , key[x] , key[y]);
^
main.cpp:34:29: warning: unused variable 'st' [-Wunused-variable]
int n , q , i , x , y , st , dr , lca;
^~
main.cpp:34:34: warning: unused variable 'dr' [-Wunused-variable]
int n , q , i , x , y , st , dr , lca;
^~
main.cpp:34:39: warning: unused variable 'lca' [-Wunused-variable]
int n , q , i , x , y , st , dr , lca;
^~~
main.cpp:32:49: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aiacupalindroame.in" , "r" , stdin);
^
main.cpp:33:51: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aiacupalindroame.out" , "w" , stdout);
^
main.cpp:35:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &q);
^
main.cpp:37:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d " , &t[i]);
^
main.cpp:48:31: 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 | 11ms | 2621kb | OK | 5 |
| 2 | 15ms | 2650kb | OK | 5 |
| 3 | 10ms | 2621kb | OK | 5 |
| 4 | 12ms | 2621kb | OK | 5 |
| 5 | 11ms | 2621kb | OK | 5 |
| 6 | 96ms | 3932kb | OK | 5 |
| 7 | 93ms | 3801kb | OK | 5 |
| 8 | 92ms | 4059kb | OK | 5 |
| 9 | 94ms | 3932kb | OK | 5 |
| 10 | 93ms | 3932kb | OK | 5 |
| 11 | 138ms | 3919kb | OK | 5 |
| 12 | 101ms | 3928kb | OK | 5 |
| 13 | 388ms | 8519kb | Incorect | 0 |
| 14 | 417ms | 8912kb | OK | 5 |
| 15 | 408ms | 8781kb | Incorect | 0 |
| 16 | 449ms | 9175kb | Incorect | 0 |
| 17 | 395ms | 8519kb | Incorect | 0 |
| 18 | 392ms | 8388kb | Incorect | 0 |
| 19 | 8ms | 2490kb | OK | 5 |
| 20 | 7ms | 2490kb | OK | 5 |
| Punctaj total | 75 |