Pagini recente » Borderou de evaluare (job #2742306) | Borderou de evaluare (job #376701) | Borderou de evaluare (job #429743) | Borderou de evaluare (job #249234) | Borderou de evaluare (job #2594389)
Borderou de evaluare (job #2594389)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'void dfst(int)':
main.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < T[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:59:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d " , ans[c[i]].size());
^
main.cpp:60:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < ans[c[i]].size() ; j ++)
~~^~~~~~~~~~~~~~~~~~
main.cpp:34:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("retele.in" , "r" , stdin);
^
main.cpp:35:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("retele.out" , "w" , stdout);
^
main.cpp:37:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &m);
^
main.cpp:40:32: 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 | 9ms | 3670kb | OK | 5 |
2 | 9ms | 3670kb | OK | 5 |
3 | 11ms | 3801kb | OK | 5 |
4 | 10ms | 3801kb | OK | 5 |
5 | 11ms | 3801kb | OK | 5 |
6 | 21ms | 3932kb | OK | 5 |
7 | 20ms | 3932kb | OK | 5 |
8 | 21ms | 3932kb | OK | 5 |
9 | 60ms | 4718kb | OK | 5 |
10 | 85ms | 5242kb | OK | 5 |
11 | 87ms | 5242kb | OK | 5 |
12 | 85ms | 5242kb | OK | 5 |
13 | 328ms | 8650kb | OK | 5 |
14 | 302ms | 8781kb | OK | 5 |
15 | 296ms | 8781kb | OK | 5 |
16 | 300ms | 8912kb | OK | 5 |
17 | 322ms | 8650kb | OK | 5 |
18 | 388ms | 10932kb | OK | 5 |
19 | 391ms | 10878kb | OK | 5 |
20 | 386ms | 10092kb | OK | 5 |
Punctaj total | 100 |