Borderou de evaluare (job #1430326)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 8 mai 2015 10:40:34
Problema Reguli Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", a[i]); ^ user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reguli.in", "r", stdin); ^ user.cpp:29:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reguli.out", "w", stdout); ^ user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:32:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &x); ^ user.cpp:35:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms644kbOK10
244ms1536kbOK10
372ms3604kbOK10
4156ms6272kbOK10
524ms1276kbOK10
616ms900kbOK10
728ms1396kbOK10
80ms300kbIncorect0
90ms288kbIncorect0
100ms260kbOK10
Punctaj total80

Ceva nu functioneaza?