Pagini recente » Borderou de evaluare (job #1847621) | Monitorul de evaluare | Istoria paginii utilizator/lisbase | Monitorul de evaluare | Borderou de evaluare (job #1425081)
Borderou de evaluare (job #1425081)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:9:28: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for( ; poz<=n; poz+=poz&(poz-1)^poz)
^
user.cpp: In function ‘int query(int)’:
user.cpp:15:25: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for( ; poz; poz-=poz&(poz-1)^poz)
^
user.cpp: In function ‘int main()’:
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in", "r", stdin);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c);
^
user.cpp:35:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tip);
^
user.cpp:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:43:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:48:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 4ms | 256kb | OK | 10 |
| 3 | 108ms | 272kb | OK | 10 |
| 4 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 508kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 580kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 632kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 640kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 636kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |