Borderou de evaluare (job #1687026)

Utilizator atatomirTatomir Alex atatomir Data 12 aprilie 2016 17:08:45
Problema Plimbare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘bool get_new_path()’: user.cpp:72:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (pas = 0; pas < act.size(); pas++) { ^ user.cpp:78:93: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; (adj[path[i - 1]][e] == 0 || adj[e][path[i]] == 0) && i + 1 < path.size(); i++); ^ user.cpp:79:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == path.size() - 1) continue; ^ user.cpp: In function ‘int main()’: user.cpp:94:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("plimbare.in","r",stdin); ^ user.cpp:95:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("plimbare.out","w",stdout); ^ user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); m = (n * (n - 1)) / 2; ^ user.cpp:99:30: 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
10ms472kbOK!5
20ms472kbOK!5
3Depăşit432kbTime limit exceeded.0
40ms464kbOK!5
5Depăşit436kbTime limit exceeded.0
6Depăşit604kbTime limit exceeded.0
7Depăşit440kbTime limit exceeded.0
80ms476kbOK!5
9Depăşit448kbTime limit exceeded.0
10Depăşit620kbTime limit exceeded.0
11Depăşit440kbTime limit exceeded.0
12Depăşit616kbTime limit exceeded.0
13Depăşit440kbTime limit exceeded.0
14Depăşit616kbTime limit exceeded.0
15Depăşit444kbTime limit exceeded.0
160ms476kbOK!5
17Depăşit444kbTime limit exceeded.0
18Depăşit612kbTime limit exceeded.0
19Depăşit440kbTime limit exceeded.0
20Depăşit616kbTime limit exceeded.0
Punctaj total25

Ceva nu functioneaza?