Borderou de evaluare (job #2211012)

Utilizator memecoinMeme Coin memecoin Data 9 iunie 2018 10:09:35
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:49: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:49:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int64_t* {aka long long int*}’ [-Wformat=] user.cpp:49:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int64_t* {aka long long int*}’ [-Wformat=] user.cpp:46: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:47: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:49: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
10ms2268kbIncorect0
20ms1044kbIncorect0
30ms804kbOK10
40ms1736kbIncorect0
50ms876kbOK10
60ms1840kbIncorect0
70ms860kbOK10
80ms1004kbIncorect0
90ms796kbOK10
100ms752kbOK10
Punctaj total50

Ceva nu functioneaza?