Pagini recente » Borderou de evaluare (job #329099) | Borderou de evaluare (job #1563859) | Borderou de evaluare (job #2724388) | Borderou de evaluare (job #2487760) | Borderou de evaluare (job #2523069)
Borderou de evaluare (job #2523069)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs1(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 dfs2(int, int)':
main.cpp:21:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp:32:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:43:17: warning: unused variable 'j' [-Wunused-variable]
int n , i , j , x , y , sef , ok , ans , s;
^
main.cpp:43:35: warning: unused variable 'ok' [-Wunused-variable]
int n , i , j , x , y , sef , ok , ans , s;
^~
main.cpp:43:40: warning: unused variable 'ans' [-Wunused-variable]
int n , i , j , x , y , sef , ok , ans , s;
^~~
main.cpp:43:46: warning: unused variable 's' [-Wunused-variable]
int n , i , j , x , y , sef , ok , ans , s;
^
main.cpp:41:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuri2.in" , "r" , stdin);
^
main.cpp:42:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuri2.out" , "w" , stdout);
^
main.cpp:44: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:47:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &x , &y);
^
main.cpp:59:11: warning: 'sef' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n" , d[sef][1]);
~~~~~~^~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |