Borderou de evaluare (job #1417963)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 11 aprilie 2015 15:53:05
Problema Drumuri4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
1Depăşit748kbTime limit exceeded.0
2Depăşit768kbTime limit exceeded.0
3Depăşit756kbTime limit exceeded.0
4Depăşit764kbTime limit exceeded.0
5Depăşit772kbTime limit exceeded.0
6Depăşit752kbTime limit exceeded.0
7Depăşit764kbTime limit exceeded.0
8Depăşit768kbTime limit exceeded.0
9Depăşit908kbTime limit exceeded.0
10Depăşit904kbTime limit exceeded.0
11Depăşit912kbTime limit exceeded.0
12Depăşit904kbTime limit exceeded.0
13Depăşit908kbTime limit exceeded.0
14Depăşit904kbTime limit exceeded.0
15Depăşit900kbTime limit exceeded.0
16Depăşit900kbTime limit exceeded.0
17Depăşit912kbTime limit exceeded.0
18Depăşit904kbTime limit exceeded.0
19Depăşit904kbTime limit exceeded.0
20Depăşit908kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?