Pagini recente » Borderou de evaluare (job #2162820) | Borderou de evaluare (job #2301277) | Borderou de evaluare (job #1552556) | Borderou de evaluare (job #1273054) | Borderou de evaluare (job #2579663)
Borderou de evaluare (job #2579663)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs1(int, int)':
main.cpp:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<alb[nod].size(); i++)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'void dfs2(int, int)':
main.cpp:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<negru[nod].size(); i++)
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:112:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sol.size()==2*n){
~~~~~~~~~~^~~~~
main.cpp:113:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<sol.size(); i++)
~^~~~~~~~~~~
main.cpp:52:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("dungeon.in", "r", stdin);
^
main.cpp:53:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dungeon.out", "w", stdout);
^
main.cpp:55:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:57:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:60:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:65:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:70:34: 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 | 6ms | 1966kb | OK | 10 |
2 | 6ms | 1966kb | OK | 10 |
3 | 7ms | 1966kb | OK | 6 |
4 | 19ms | 2097kb | OK | 6 |
5 | 77ms | 2752kb | OK | 6 |
6 | 135ms | 3538kb | OK | 6 |
7 | 260ms | 4976kb | OK | 6 |
8 | 725ms | 10215kb | OK | 6 |
9 | 677ms | 9166kb | OK | 6 |
10 | 731ms | 10084kb | OK | 8 |
11 | 106ms | 5111kb | OK | 10 |
12 | 218ms | 5894kb | OK | 10 |
13 | 209ms | 5894kb | OK | 10 |
Punctaj total | 100 |