Pagini recente » Borderou de evaluare (job #1908294) | Borderou de evaluare (job #670086) | Borderou de evaluare (job #1187887) | Borderou de evaluare (job #2235528) | Borderou de evaluare (job #1264865)
Borderou de evaluare (job #1264865)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int)’:
user.cpp:8:25: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for( ; poz; poz-=poz&(poz-1)^poz)
^
user.cpp: In function ‘void update(int, int)’:
user.cpp:14:30: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for( ; poz<=n; poz+=poz&(poz-1)^poz)
^
user.cpp: In function ‘int main()’:
user.cpp:22:11: warning: unused variable ‘s’ [-Wunused-variable]
int m,s,i,x,op,a,b,j,h;
^
user.cpp:20:33: 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:21:35: 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:23: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:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:32: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:36: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:40: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 | Incorect | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 4ms | 300kb | Incorect | 0 |
4 | 24ms | 456kb | Incorect | 0 |
5 | 60ms | 528kb | Incorect | 0 |
6 | 84ms | 764kb | Incorect | 0 |
7 | 96ms | 920kb | Incorect | 0 |
8 | 132ms | Depăşit | Memory limit exceeded. | 0 |
9 | 132ms | Depăşit | Memory limit exceeded. | 0 |
10 | 128ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |