Pagini recente » Borderou de evaluare (job #535548) | Borderou de evaluare (job #2013196) | Borderou de evaluare (job #848315) | Borderou de evaluare (job #2670849) | Borderou de evaluare (job #2511392)
Borderou de evaluare (job #2511392)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs1(int, 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:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp:17:13: warning: unused variable 'v' [-Wunused-variable]
int j , v;
^
main.cpp: In function 'int main()':
main.cpp:41:39: warning: unused variable 'j' [-Wunused-variable]
int n , q , i , x , y , ly , tx , j;
^
main.cpp:39:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.in" , "r" , stdin);
^
main.cpp:40:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.out" , "w" , stdout);
^
main.cpp:42: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:45:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &t[i]);
^
main.cpp:63: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 | 18ms | 6098kb | OK! | 10 |
2 | 13ms | 6160kb | OK! | 10 |
3 | 28ms | 6262kb | OK! | 10 |
4 | 44ms | 6918kb | OK! | 10 |
5 | 46ms | 6946kb | OK! | 10 |
6 | 155ms | 8851kb | OK! | 10 |
7 | 131ms | 8650kb | OK! | 10 |
8 | 164ms | 8368kb | OK! | 10 |
9 | 703ms | 22282kb | Time limit exceeded | 0 |
10 | 703ms | 25632kb | Time limit exceeded | 0 |
Punctaj total | 80 |