Borderou de evaluare (job #1493171)

Utilizator theprdvtheprdv theprdv Data 28 septembrie 2015 20:18:24
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: 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:31: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:34:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(line, 1005, stdin); ^ user.cpp:38: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
10ms284kbCool!10
20ms288kbCool!10
30ms288kbCool!10
40ms292kbUrat.. urat de tot: raspuns gresit0
54ms308kbCool!10
68ms324kbCool!10
720ms368kbUrat.. urat de tot: raspuns gresit0
812ms368kbUrat.. urat de tot: raspuns gresit0
928ms436kbCool!10
1016ms436kbCool!10
Punctaj total70

Ceva nu functioneaza?