Borderou de evaluare (job #1493929)

Utilizator theprdvtheprdv theprdv Data 30 septembrie 2015 03:56:28
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:41: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:45: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:48: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:52: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
10ms288kbCool!10
20ms288kbCool!10
30ms288kbCool!10
40ms288kbUrat.. urat de tot: raspuns gresit0
58ms324kbCool!10
620ms368kbCool!10
744ms408kbUrat.. urat de tot: raspuns gresit0
828ms412kbUrat.. urat de tot: raspuns gresit0
960ms500kbCool!10
1040ms508kbCool!10
Punctaj total70

Ceva nu functioneaza?