Borderou de evaluare (job #2249385)

Utilizator Catalin_BorzaBorza Catalin-Mihai Catalin_Borza Data 29 septembrie 2018 18:45:49
Problema Livada Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 36

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:18:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] scanf("%d %d %I64d", &m, &n, &p); ^ user.cpp:27:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d ", &x); ^ user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d ", &x); ^ user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("livada.in", "r", stdin); ^ user.cpp:18:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %I64d", &m, &n, &p); ^ user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d ", &x); ^ user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d ", &x); ^ user.cpp: In function ‘int main()’: user.cpp:77:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("livada.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms756kbA doua linie corecta!6
20ms752kbOK!10
392ms860kbOK!10
4300ms752kbOK!10
5Depăşit876kbTime limit exceeded.0
6Depăşit764kbTime limit exceeded.0
7Depăşit816kbTime limit exceeded.0
8Depăşit2772kbTime limit exceeded.0
9Depăşit752kbTime limit exceeded.0
10Depăşit8848kbTime limit exceeded.0
Punctaj total36

Ceva nu functioneaza?