Borderou de evaluare (job #2474132)

Utilizator CharacterMeCharacter Me CharacterMe Data 14 octombrie 2019 19:12:17
Problema Carnati Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("carnati.in", "r", stdin); ^ main.cpp:15:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("carnati.out", "w", stdout); ^ main.cpp: In function 'void read()': main.cpp:24:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &n, &c); ^ main.cpp:25:72: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i=1; i<=n; ++i) scanf("%lld%lld", &list[i].time, &list[i].cost); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbIncorect0
33ms131kbIncorect0
43ms131kbKilled by Signal 110
53ms131kbKilled by Signal 110
63ms131kbKilled by Signal 110
75ms131kbKilled by Signal 110
85ms131kbKilled by Signal 110
95ms131kbKilled by Signal 110
104ms131kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?