Pagini recente » Borderou de evaluare (job #1540765) | Borderou de evaluare (job #628485) | Borderou de evaluare (job #2493263) | Borderou de evaluare (job #2368382) | Borderou de evaluare (job #1417963)
Borderou de evaluare (job #1417963)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve1(int, int)’:
user.cpp:22:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[c].size(); ++i)
^
user.cpp: In function ‘int solve2(int, int)’:
user.cpp:43:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[a].size() == 2)
^
user.cpp: In function ‘int bfs(int, int)’:
user.cpp:65:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[c].size(); ++i)
^
user.cpp: In function ‘int bfs2(int, int)’:
user.cpp:122:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[c].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:157:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri4.in", "r", stdin);
^
user.cpp:158:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri4.out", "w", stdout);
^
user.cpp:159:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:162:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &Tip);
^
user.cpp:164:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
user.cpp:166:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 748kb | Time limit exceeded. | 0 |
2 | Depăşit | 768kb | Time limit exceeded. | 0 |
3 | Depăşit | 756kb | Time limit exceeded. | 0 |
4 | Depăşit | 764kb | Time limit exceeded. | 0 |
5 | Depăşit | 772kb | Time limit exceeded. | 0 |
6 | Depăşit | 752kb | Time limit exceeded. | 0 |
7 | Depăşit | 764kb | Time limit exceeded. | 0 |
8 | Depăşit | 768kb | Time limit exceeded. | 0 |
9 | Depăşit | 908kb | Time limit exceeded. | 0 |
10 | Depăşit | 904kb | Time limit exceeded. | 0 |
11 | Depăşit | 912kb | Time limit exceeded. | 0 |
12 | Depăşit | 904kb | Time limit exceeded. | 0 |
13 | Depăşit | 908kb | Time limit exceeded. | 0 |
14 | Depăşit | 904kb | Time limit exceeded. | 0 |
15 | Depăşit | 900kb | Time limit exceeded. | 0 |
16 | Depăşit | 900kb | Time limit exceeded. | 0 |
17 | Depăşit | 912kb | Time limit exceeded. | 0 |
18 | Depăşit | 904kb | Time limit exceeded. | 0 |
19 | Depăşit | 904kb | Time limit exceeded. | 0 |
20 | Depăşit | 908kb | Time limit exceeded. | 0 |
Punctaj total | 0 |