Borderou de evaluare (job #2211017)

Utilizator memecoinMeme Coin memecoin Data 9 iunie 2018 10:15:56
Problema Expozitie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int64_t* {aka long long int*}’ [-Wformat=] scanf("%d %d %d", &n, &d, &k); ^ user.cpp:50:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int64_t* {aka long long int*}’ [-Wformat=] user.cpp:50:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int64_t* {aka long long int*}’ [-Wformat=] user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expozitie.in", "r", stdin); ^ user.cpp:48:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expozitie.out", "w", stdout); ^ user.cpp:50:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &d, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms876kbIncorect0
20ms872kbIncorect0
30ms864kbOK10
40ms752kbIncorect0
50ms756kbOK10
60ms872kbIncorect0
70ms796kbOK10
80ms860kbIncorect0
90ms796kbOK10
100ms796kbOK10
Punctaj total50

Ceva nu functioneaza?