Borderou de evaluare (job #1424107)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 23 aprilie 2015 15:20:57
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:50: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:80:33: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=] scanf("%c", &a[i][j]); ^ main.cpp:74: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:75: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:76: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:80: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:78: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:98: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
17ms1703kbRaspuns gresit!0
211ms2228kbRaspuns gresit!0
334ms4063kbRaspuns gresit!0
476ms5767kbRaspuns gresit!0
5233ms9043kbRaspuns gresit!0
6234ms10092kbRaspuns gresit!0
7249ms10354kbRaspuns gresit!0
8265ms11141kbRaspuns gresit!0
9254ms10616kbRaspuns gresit!0
10279ms10747kbRaspuns gresit!0
114ms1310kbRaspuns gresit!0
125ms1310kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?