Borderou de evaluare (job #2452585)

Utilizator CharacterMeCharacter Me CharacterMe Data 31 august 2019 13:16:26
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.in", "r", stdin); ^ main.cpp:18:37: 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); ^ main.cpp: In function 'void read()': main.cpp:26:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &n, &l); ^ main.cpp:32:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ main.cpp:38:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i=0; i<l; ++i) scanf("%lld", &cost[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbUrat.. urat de tot: raspuns gresit0
22ms131kbCool!10
34ms131kbCool!10
414ms131kbCool!10
53ms131kbCool!10
65ms262kbCool!10
75ms262kbCool!10
86ms262kbCool!10
910ms393kbCool!10
107ms393kbCool!10
Punctaj total90

Ceva nu functioneaza?