Borderou de evaluare (job #2211018)

Utilizator memecoinMeme Coin memecoin Data 9 iunie 2018 10:17:37
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:45: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:45:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int64_t* {aka long long int*}’ [-Wformat=] user.cpp:45:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int64_t* {aka long long int*}’ [-Wformat=] user.cpp:42: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:43: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:45: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
10ms856kbIncorect0
20ms876kbIncorect0
30ms864kbOK10
40ms860kbIncorect0
50ms756kbOK10
60ms792kbIncorect0
70ms756kbOK10
80ms864kbIncorect0
90ms872kbOK10
100ms796kbOK10
Punctaj total50

Ceva nu functioneaza?