Borderou de evaluare (job #1689085)

Utilizator SmarandaMaria Pandele Smaranda Data 13 aprilie 2016 22:35:54
Problema Afaceri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int query(int, int, int, int)’: user.cpp:55:9: warning: unused variable ‘aux’ [-Wunused-variable] int aux, i, ans = 0, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:55:14: warning: unused variable ‘i’ [-Wunused-variable] int aux, i, ans = 0, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:55:26: warning: unused variable ‘dr1’ [-Wunused-variable] int aux, i, ans = 0, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:55:31: warning: unused variable ‘dr2’ [-Wunused-variable] int aux, i, ans = 0, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:55:36: warning: unused variable ‘lastpoz2’ [-Wunused-variable] int aux, i, ans = 0, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:55:46: warning: unused variable ‘j’ [-Wunused-variable] int aux, i, ans = 0, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:55:58: warning: unused variable ‘lastpoz1’ [-Wunused-variable] int aux, i, ans = 0, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp: In function ‘int main()’: user.cpp:114:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("afaceri.in", "r", stdin); ^ user.cpp:115:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("afaceri.out", "w", stdout); ^ user.cpp:117:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d%d%d%d%d", &N, &M, &Q, &L, &A0, &A1, &A2, &R); ^ user.cpp:118:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LX); ^ user.cpp:120:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &X [i]); ^ user.cpp:121:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LY); ^ user.cpp:123:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &Y [i]); ^ user.cpp:124:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("\n%s", s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1416ms652kbOK10
2812ms664kbOK10
31004ms664kbOK10
41004ms660kbOK10
51016ms668kbOK10
61040ms664kbOK10
71124ms660kbOK10
8Depăşit636kbTime limit exceeded.0
9Depăşit640kbTime limit exceeded.0
10Depăşit644kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?