Borderou de evaluare (job #1493041)

Utilizator theprdvtheprdv theprdv Data 28 septembrie 2015 17:19:51
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] now = ((1 << 15) - 1) ^ now & now; ^ user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.out", "w", stdout); ^ user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &L); ^ user.cpp:32:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(map[i], 1005, stdin); ^ user.cpp:36:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int i = 0; i < L; ++i) scanf("%d", &c[i]), P[i] = i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbCool!10
20ms296kbCool!10
30ms300kbCool!10
40ms308kbUrat.. urat de tot: raspuns gresit0
54ms324kbCool!10
68ms336kbCool!10
78ms380kbUrat.. urat de tot: raspuns gresit0
84ms376kbUrat.. urat de tot: raspuns gresit0
90ms456kbUrat.. urat de tot: raspuns gresit0
104ms448kbUrat.. urat de tot: raspuns gresit0
Punctaj total50

Ceva nu functioneaza?