Borderou de evaluare (job #1755154)

Utilizator giotoPopescu Ioan gioto Data 9 septembrie 2016 15:05:02
Problema Modulo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:29: 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:10:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:10:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:19:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] }printf("%d", x); ^ user.cpp:8:37: 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:9:39: 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:10:30: 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
10ms272kbOK10
20ms268kbOK10
30ms268kbOK10
40ms272kbOK10
50ms272kbOK10
60ms256kbOK10
70ms268kbOK10
80ms272kbOK10
90ms268kbOK10
100ms276kbOK10
Punctaj total100

Ceva nu functioneaza?