Borderou de evaluare (job #1456525)

Utilizator theprdvtheprdv theprdv Data 1 iulie 2015 06:35:24
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:120:27: warning: unused variable 'node' [-Wunused-variable] for (int X1, Y1, X2, Y2, node, n1, n2, d = 0, ans; Q; --Q, d = 0){ ^~~~ main.cpp:120:33: warning: variable 'n1' set but not used [-Wunused-but-set-variable] for (int X1, Y1, X2, Y2, node, n1, n2, d = 0, ans; Q; --Q, d = 0){ ^~ main.cpp:120:37: warning: variable 'n2' set but not used [-Wunused-but-set-variable] for (int X1, Y1, X2, Y2, node, n1, n2, d = 0, ans; Q; --Q, d = 0){ ^~ main.cpp:120:48: warning: unused variable 'ans' [-Wunused-variable] for (int X1, Y1, X2, Y2, node, n1, n2, d = 0, ans; Q; --Q, d = 0){ ^~~ main.cpp:98:34: 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:99:36: 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:101:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &N, &M, &Q); ^ main.cpp:121:44: 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); ^ main.cpp: In function 'int read_val()': main.cpp:21:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
111ms3932kbRaspuns gresit!0
214ms4325kbRaspuns gresit!0
335ms5636kbRaspuns gresit!0
470ms7208kbRaspuns gresit!0
5206ms11403kbRaspuns gresit!0
6187ms11927kbRaspuns gresit!0
7245ms12451kbRaspuns gresit!0
8255ms12713kbRaspuns gresit!0
9254ms13238kbRaspuns gresit!0
10250ms12845kbRaspuns gresit!0
1110ms3670kbRaspuns gresit!0
1210ms3801kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?