Borderou de evaluare (job #1913926)

Utilizator ajeccAjechiloae Eugen ajecc Data 8 martie 2017 14:45:30
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In constructor ‘mlc::mlc()’: user.cpp:157:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] query = val = index = l = r = nr_query = 0; ^ user.cpp: In function ‘void update(int)’: user.cpp:179:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(; pos <= ssize; pos += lsb(pos)) ^ user.cpp: In function ‘int main()’: user.cpp:248:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for1(i, ssize) ^ user.cpp:3:35: note: in definition of macro ‘for1’ #define for1(i,n) for(int i=1; i<=n; i++) ^ user.cpp:200:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zoo.in", "r", stdin); ^ user.cpp:201:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zoo.out", "w", stdout); ^ user.cpp:203:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:207:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &v[i].x, &v[i].y); ^ user.cpp:221:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:227:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &x1, &y1, &x2, &y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms9812kbOK10
212ms9812kbOK10
316ms9836kbOK10
4Depăşit12688kbTime limit exceeded.0
5148ms10204kbOK10
6Depăşit13096kbTime limit exceeded.0
7Depăşit10200kbTime limit exceeded.0
8Depăşit12900kbTime limit exceeded.0
9Depăşit10292kbTime limit exceeded.0
10Depăşit10288kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?