Borderou de evaluare (job #1494419)

Utilizator theprdvtheprdv theprdv Data 1 octombrie 2015 02:09:34
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: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
20ms296kbUrat.. urat de tot: raspuns gresit0
30ms300kbCool!10
44ms300kbUrat.. urat de tot: raspuns gresit0
58ms316kbUrat.. urat de tot: raspuns gresit0
644ms328kbUrat.. urat de tot: raspuns gresit0
780ms364kbUrat.. urat de tot: raspuns gresit0
8120ms360kbUrat.. urat de tot: raspuns gresit0
9232ms420kbUrat.. urat de tot: raspuns gresit0
10188ms420kbUrat.. urat de tot: raspuns gresit0
Punctaj total20

Ceva nu functioneaza?