Borderou de evaluare (job #1492978)

Utilizator theprdvtheprdv theprdv Data 28 septembrie 2015 16:19:07
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

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
10ms296kbCool!10
20ms292kbUrat.. urat de tot: raspuns gresit0
30ms292kbCool!10
40ms308kbUrat.. urat de tot: raspuns gresit0
54ms324kbUrat.. urat de tot: raspuns gresit0
68ms340kbUrat.. urat de tot: raspuns gresit0
78ms376kbUrat.. urat de tot: raspuns gresit0
84ms376kbUrat.. urat de tot: raspuns gresit0
94ms452kbUrat.. urat de tot: raspuns gresit0
104ms456kbUrat.. urat de tot: raspuns gresit0
Punctaj total20

Ceva nu functioneaza?