Borderou de evaluare (job #1424104)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 23 aprilie 2015 15:13:32
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
15ms1835kbRaspuns gresit!0
211ms2228kbRaspuns gresit!0
337ms4194kbRaspuns gresit!0
479ms5898kbRaspuns gresit!0
5231ms9437kbRaspuns gresit!0
6255ms10616kbRaspuns gresit!0
7289ms10747kbRaspuns gresit!0
8296ms11927kbRaspuns gresit!0
9283ms11141kbRaspuns gresit!0
10276ms11403kbRaspuns gresit!0
115ms1310kbRaspuns gresit!0
125ms1310kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?