Borderou de evaluare (job #2038355)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 13 octombrie 2017 17:16:01
Problema Modulo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d" , &a , &b , &c); ^ user.cpp:9:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:9:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:18:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n" , p); ^ user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("modulo.in" , "r" , stdin); ^ user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("modulo.out" , "w" , stdout); ^ user.cpp:9:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d" , &a , &b , &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbIncorect0
20ms272kbIncorect0
30ms268kbIncorect0
40ms268kbIncorect0
50ms268kbIncorect0
60ms268kbIncorect0
70ms272kbIncorect0
80ms268kbIncorect0
90ms264kbIncorect0
100ms272kbIncorect0
Punctaj total0

Ceva nu functioneaza?