Pagini recente » Borderou de evaluare (job #2503222) | Borderou de evaluare (job #1460919) | Borderou de evaluare (job #1584518) | Borderou de evaluare (job #751935) | Borderou de evaluare (job #2511788)
Borderou de evaluare (job #2511788)
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 | 11ms | 2621kb | OK | 5 |
3 | 12ms | 2621kb | OK | 5 |
4 | 11ms | 2621kb | OK | 5 |
5 | 12ms | 2670kb | OK | 5 |
6 | 137ms | 3919kb | OK | 5 |
7 | 93ms | 3801kb | OK | 5 |
8 | 109ms | 3928kb | OK | 5 |
9 | 93ms | 3932kb | OK | 5 |
10 | 87ms | 3936kb | OK | 5 |
11 | 89ms | 3940kb | OK | 5 |
12 | 96ms | 3932kb | OK | 5 |
13 | 398ms | 8519kb | OK | 5 |
14 | 404ms | 8781kb | OK | 5 |
15 | 428ms | 8912kb | OK | 5 |
16 | 420ms | 9175kb | OK | 5 |
17 | 388ms | 8519kb | OK | 5 |
18 | 398ms | 8388kb | OK | 5 |
19 | 6ms | 2490kb | OK | 5 |
20 | 6ms | 2490kb | OK | 5 |
Punctaj total | 100 |