Pagini recente » Borderou de evaluare (job #1432783) | Borderou de evaluare (job #2236444) | Borderou de evaluare (job #1915642) | Borderou de evaluare (job #3148580) | Borderou de evaluare (job #2511787)
Borderou de evaluare (job #2511787)
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 | 15ms | 2637kb | OK | 5 |
4 | 12ms | 2666kb | OK | 5 |
5 | 13ms | 2662kb | OK | 5 |
6 | 85ms | 3932kb | OK | 5 |
7 | 77ms | 3801kb | OK | 5 |
8 | 94ms | 3932kb | OK | 5 |
9 | 80ms | 3932kb | OK | 5 |
10 | 75ms | 3932kb | OK | 5 |
11 | 92ms | 3932kb | OK | 5 |
12 | 141ms | 3928kb | OK | 5 |
13 | 549ms | 8515kb | Incorect | 0 |
14 | 428ms | 8896kb | OK | 5 |
15 | 420ms | 8781kb | Incorect | 0 |
16 | 416ms | 9175kb | Incorect | 0 |
17 | 379ms | 8519kb | Incorect | 0 |
18 | 410ms | 8388kb | Incorect | 0 |
19 | 6ms | 2490kb | OK | 5 |
20 | 7ms | 2490kb | OK | 5 |
Punctaj total | 75 |