Borderou de evaluare (job #1989010)

Utilizator giotoPopescu Ioan gioto Data 5 iunie 2017 15:49:58
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ăşit5976kbTime limit exceeded.0
2Depăşit4140kbTime limit exceeded.0
30ms316kbOK10
4876ms5632kbOK10
5Depăşit5980kbTime limit exceeded.0
6844ms4068kbOK10
7888ms7292kbOK10
8Depăşit4108kbTime limit exceeded.0
9Depăşit3984kbTime limit exceeded.0
10Depăşit3964kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?