Borderou de evaluare (job #1786278)

Utilizator giotoPopescu Ioan gioto Data 22 octombrie 2016 17:58:28
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:52:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", a[a[0]]); ^ user.cpp:58:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", a[i]); ^ user.cpp:26:40: 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:27:42: 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:28:32: 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
10ms268kbIncorect0
20ms260kbIncorect0
30ms264kbIncorect0
40ms272kbIncorect0
50ms264kbIncorect0
60ms272kbIncorect0
70ms248kbOK10
80ms264kbIncorect0
90ms240kbOK10
100ms268kbOK10
Punctaj total30

Ceva nu functioneaza?