Borderou de evaluare (job #2105739)

Utilizator alexandra_paticaAndreea Alexandra Patica alexandra_patica Data 14 ianuarie 2018 01:08:10
Problema Flori5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &x); ^ user.cpp:21:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if (a<=b) printf("%d\n", a); ^ user.cpp:22:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] else printf("%d\n", a-(a-b+k)/(k+1)); ^ user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori5.in", "r", stdin); ^ user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori5.out", "w", stdout); ^ user.cpp:10:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &n, &k); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &m); ^ user.cpp:18:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms272kbOK10
30ms280kbOK10
40ms272kbOK10
50ms276kbOK10
60ms276kbOK10
74ms296kbIncorect0
8128ms1832kbIncorect0
9124ms1828kbIncorect0
10132ms1832kbIncorect0
Punctaj total60

Ceva nu functioneaza?