Pagini recente » Borderou de evaluare (job #2343815) | Borderou de evaluare (job #638921) | Monitorul de evaluare | Borderou de evaluare (job #507849) | Borderou de evaluare (job #1913926)
Borderou de evaluare (job #1913926)
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 | 9812kb | OK | 10 |
| 2 | 12ms | 9812kb | OK | 10 |
| 3 | 16ms | 9836kb | OK | 10 |
| 4 | Depăşit | 12688kb | Time limit exceeded. | 0 |
| 5 | 148ms | 10204kb | OK | 10 |
| 6 | Depăşit | 13096kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 10200kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 12900kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 10292kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 10288kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |