Borderou de evaluare (job #1493222)

Utilizator theprdvtheprdv theprdv Data 28 septembrie 2015 21:15:26
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:21: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:25: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:28: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:32: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
20ms292kbCool!10
30ms292kbCool!10
40ms296kbUrat.. urat de tot: raspuns gresit0
54ms308kbCool!10
612ms332kbCool!10
720ms372kbUrat.. urat de tot: raspuns gresit0
812ms368kbUrat.. urat de tot: raspuns gresit0
932ms444kbCool!10
1020ms440kbCool!10
Punctaj total70

Ceva nu functioneaza?