Borderou de evaluare (job #1913941)
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 |
1 | 12ms | 9816kb | OK | 10 |
2 | 12ms | 9816kb | OK | 10 |
3 | 16ms | 9840kb | OK | 10 |
4 | Depăşit | 10000kb | Time limit exceeded. | 0 |
5 | 152ms | 10204kb | OK | 10 |
6 | 148ms | 10208kb | OK | 10 |
7 | Depăşit | 10200kb | Time limit exceeded. | 0 |
8 | 308ms | 10316kb | OK | 10 |
9 | Depăşit | 10296kb | Time limit exceeded. | 0 |
10 | Depăşit | 10284kb | Time limit exceeded. | 0 |
Punctaj total | 60 |