Borderou de evaluare (job #1424102)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 23 aprilie 2015 15:12:40
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:49:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v[Nod].size(); ++i) ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:79:33: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=] scanf("%c", &a[i][j]); ^ main.cpp:73:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.in", "r", stdin); ^ main.cpp:74:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.out", "w", stdout); ^ main.cpp:75:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &n, &m, &q); ^ main.cpp:79:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &a[i][j]); ^ main.cpp:77:5: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; ++i, scanf("\n")) ^~~ main.cpp:97:49: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &x1, &y1, &x2, &y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms524kbRaspuns gresit!0
28ms1048kbRaspuns gresit!0
332ms2883kbKilled by Signal 110
460ms4456kbKilled by Signal 110
5235ms7471kbKilled by Signal 110
6204ms8650kbKilled by Signal 110
7260ms8912kbKilled by Signal 110
8245ms9830kbKilled by Signal 110
9274ms9043kbKilled by Signal 110
10278ms9306kbKilled by Signal 110
112ms131kbRaspuns gresit!0
122ms131kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?