Borderou de evaluare (job #1989007)

Utilizator giotoPopescu Ioan gioto Data 5 iunie 2017 15:43:13
Problema Suma6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suma6.in", "r", stdin); ^ user.cpp:28:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suma6.out", "w", stdout); ^ user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &s); ^ user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:34:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nq); ^ user.cpp:35:78: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= nq ; ++i) scanf("%d%d", &q[i].l, &q[i].r), q[i].p = i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit5948kbTime limit exceeded.0
2Depăşit4112kbTime limit exceeded.0
30ms292kbOK10
4248ms5604kbOK10
5Depăşit5952kbTime limit exceeded.0
6240ms4044kbOK10
7276ms7260kbOK10
8Depăşit4080kbTime limit exceeded.0
9Depăşit3956kbTime limit exceeded.0
10Depăşit3940kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?