Borderou de evaluare (job #2291334)

Utilizator NOSCOPEPROKENDYMACHEAMACUMVREAU NOSCOPEPROKENDY Data 27 noiembrie 2018 21:47:19
Problema Vrejuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:93:43: warning: unused variable 'nr' [-Wunused-variable] long long rest = dif % h, nr = dif / h; ^~ main.cpp:69:23: warning: unused variable 'x' [-Wunused-variable] long long x = it->first, y = it->second; ^ main.cpp:69:38: warning: unused variable 'y' [-Wunused-variable] long long x = it->first, y = it->second; ^ main.cpp:23: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); ^ main.cpp:25: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); ^ main.cpp:29: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); ^ main.cpp:37: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
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
43ms131kbOK10
58ms131kbOK10
621ms131kbOK10
756ms131kbOK10
8110ms393kbOK10
9120ms786kbOK10
10140ms1441kbOK10
Punctaj total100

Ceva nu functioneaza?