Borderou de evaluare (job #1494420)

Utilizator theprdvtheprdv theprdv Data 1 octombrie 2015 02:16:31
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22: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:26: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:29: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:33: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
20ms300kbCool!10
30ms296kbCool!10
44ms304kbCool!10
58ms316kbCool!10
644ms328kbCool!10
776ms364kbCool!10
8120ms356kbCool!10
9228ms420kbCool!10
10188ms424kbCool!10
Punctaj total100

Ceva nu functioneaza?