Borderou de evaluare (job #1701723)

Utilizator atatomirTatomir Alex atatomir Data 13 mai 2016 22:53:07
Problema Namlei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In member function ‘matrix aint::query(int, int, int, int, int)’: user.cpp:81:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (qR > mid) ^ user.cpp: In function ‘int main()’: user.cpp:121:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("namlei.in","r",stdin); ^ user.cpp:122:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("namlei.out","w",stdout); ^ user.cpp:124:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:125:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &X, &Y); X %= k; Y %= k; ^ user.cpp:135:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &cnt, &p1, &p2); ^ user.cpp:146:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:150:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &ch); ^ user.cpp:153:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d\n", &pos, &cnt, &p1, &p2); ^ user.cpp:162:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &cnt, &p1, &p2); ^ user.cpp:177:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d\n", &p1, &o1, &p2, &o2); o1++; o2++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms636kbOK10
256ms620kbOK10
3120ms14324kbOK10
4244ms14316kbOK10
5Depăşit31484kbTime limit exceeded.0
6128ms31508kbOK10
7152ms8432kbOK10
8172ms24472kbOK10
9100ms15040kbOK10
10Depăşit31480kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?