Borderou de evaluare (job #1689077)

Utilizator SmarandaMaria Pandele Smaranda Data 13 aprilie 2016 22:28:36
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:61:14: warning: unused variable ‘i’ [-Wunused-variable] int aux, i, ans = 0, b1, b2, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:61:34: warning: unused variable ‘dr1’ [-Wunused-variable] int aux, i, ans = 0, b1, b2, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:61:39: warning: unused variable ‘dr2’ [-Wunused-variable] int aux, i, ans = 0, b1, b2, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:61:44: warning: unused variable ‘lastpoz2’ [-Wunused-variable] int aux, i, ans = 0, b1, b2, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:61:54: warning: unused variable ‘j’ [-Wunused-variable] int aux, i, ans = 0, b1, b2, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp:61:66: warning: unused variable ‘lastpoz1’ [-Wunused-variable] int aux, i, ans = 0, b1, b2, dr1, dr2, lastpoz2, j, num = 0, lastpoz1; ^ user.cpp: In function ‘int main()’: user.cpp:122: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:123: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:125: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:126:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LX); ^ user.cpp:128:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &X [i]); ^ user.cpp:129:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LY); ^ user.cpp:131:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &Y [i]); ^ user.cpp:132: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
1416ms656kbOK10
2804ms668kbOK10
3992ms664kbOK10
4996ms672kbOK10
51008ms664kbOK10
61036ms668kbOK10
71136ms668kbOK10
8Depăşit636kbTime limit exceeded.0
9Depăşit640kbTime limit exceeded.0
10Depăşit636kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?