Pagini recente » Borderou de evaluare (job #2101192) | Borderou de evaluare (job #523918) | Borderou de evaluare (job #2457432) | Borderou de evaluare (job #117826) | Borderou de evaluare (job #2597822)
Borderou de evaluare (job #2597822)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs1(int)':
main.cpp:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'void dfs2(int)':
main.cpp:29: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:62:31: 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\n" , ans.size());
^
main.cpp:63:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < ans.size() ; i ++)
~~^~~~~~~~~~~~
main.cpp:44:36: warning: unused variable 'j' [-Wunused-variable]
int n , k , x , y , i , root , j;
^
main.cpp:42:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("freakadebunic.in" , "r" , stdin);
^
main.cpp:43:48: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("freakadebunic.out" , "w" , stdout);
^
main.cpp:45:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &k);
^
main.cpp:48:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &x);
^
main.cpp:53: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 | 7ms | 3014kb | OK | 10 |
2 | 9ms | 3014kb | OK | 10 |
3 | 9ms | 3014kb | OK | 10 |
4 | 12ms | 3014kb | OK | 10 |
5 | 12ms | 3014kb | OK | 10 |
6 | 12ms | 3145kb | OK | 10 |
7 | 179ms | 6946kb | OK | 10 |
8 | 181ms | 6946kb | OK | 10 |
9 | 174ms | 6815kb | OK | 10 |
10 | 163ms | 6553kb | OK | 10 |
Punctaj total | 100 |