Borderou de evaluare (job #1500426)

Utilizator George-AndreiGeorge Andrei George-Andrei Data 11 octombrie 2015 22:23:27
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &a); ^ user.cpp:8:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &b); ^ user.cpp:10:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d", a); ^ user.cpp:4:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adunare.in", "a+", stdin); ^ user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adunare.out", "a+", stdout); ^ user.cpp:7:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a); ^ user.cpp:8:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
70ms224kb4544 != 000
80ms232kb14113 != 00
90ms228kb362 != 00
100ms224kb7646 != 00
10ms228kb3 != 000
20ms228kb6 != 00
30ms228kb14 != 00
40ms228kb444 != 000
50ms228kb1956 != 00
60ms228kb2000 != 00
Punctaj total0

Ceva nu functioneaza?