Borderou de evaluare (job #2211022)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:74: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:74:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int64_t* {aka long long int*}’ [-Wformat=] user.cpp:74:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int64_t* {aka long long int*}’ [-Wformat=] user.cpp:71: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:72: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:74: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
14ms1636kbIncorect0
20ms1636kbIncorect0
30ms1640kbIncorect0
416ms1636kbIncorect0
50ms1636kbIncorect0
616ms1636kbIncorect0
70ms1636kbOK10
80ms1636kbIncorect0
90ms1640kbOK10
100ms1636kbOK10
Punctaj total30

Ceva nu functioneaza?