Borderou de evaluare (job #2243606)

Utilizator giotoPopescu Ioan gioto Data 20 septembrie 2018 22:41:04
Problema Vrejuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:43: warning: unused variable ‘nr’ [-Wunused-variable] long long rest = dif % h, nr = dif / h; ^~ user.cpp:35:23: warning: unused variable ‘x’ [-Wunused-variable] long long x = it->first, y = it->second; ^ user.cpp:35:38: warning: unused variable ‘y’ [-Wunused-variable] long long x = it->first, y = it->second; ^ user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vrejuri.in", "r", stdin); ^ user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vrejuri.out", "w", stdout); ^ user.cpp:15:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%lld", &n, &k, &s); ^ user.cpp:19:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &h, &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1312kbOK10
20ms1320kbOK10
30ms1320kbOK10
40ms1324kbOK10
54ms1320kbOK10
616ms1316kbOK10
744ms1352kbOK10
888ms1512kbOK10
996ms1704kbOK10
10104ms2096kbOK10
Punctaj total100

Ceva nu functioneaza?