Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
4 Iulie 2025, 12:48 |
c++14 |
0.0 |
main.cpp: In function ‘int main()’:
main.cpp:28:21: warning: operation on ‘bits[b]’ may be undefined [-Wsequence-point]
28 | bits[b] = ((a[i] & (1 << b)) ? a[i] : (bits[b] |= a[i]));
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Subtask |
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
|---|---|---|---|---|
|
2,
3
|
1
|
correct |
0,014 |
593KB |
|
2,
3
|
2
|
wrong |
0,015 |
667KB |
|
2,
3
|
3
|
wrong |
0,014 |
626KB |
|
2,
3
|
4
|
wrong |
0,014 |
651KB |
|
2,
3
|
5
|
correct |
0,007 |
667KB |
|
2,
3
|
6
|
correct |
0,008 |
614KB |
|
2,
3
|
7
|
correct |
0,009 |
696KB |
|
2,
3
|
8
|
correct |
0,007 |
684KB |
|
3
|
9
|
wrong |
0,075 |
4.45MB |
|
3
|
10
|
wrong |
0,075 |
4.42MB |
|
3
|
11
|
wrong |
0,075 |
4.49MB |
|
3
|
12
|
wrong |
0,075 |
4.49MB |
|
3
|
13
|
correct |
0,109 |
4.34MB |
|
3
|
14
|
wrong |
0,071 |
4.5MB |
|
3
|
15
|
wrong |
0,071 |
4.53MB |
|
3
|
16
|
correct |
0,108 |
4.3MB |
|
3
|
17
|
correct |
0,094 |
4.32MB |
|
3
|
18
|
correct |
0,095 |
4.26MB |
|
3
|
19
|
correct |
0,092 |
4.26MB |
|
3
|
20
|
correct |
0,092 |
4.22MB |
|
1,
2,
3
|
21
|
correct |
0,001 |
176KB |
|
1,
2,
3
|
22
|
wrong |
0,001 |
176KB |
|
1,
2,
3
|
23
|
wrong |
0,001 |
176KB |
|
1,
2,
3
|
24
|
correct |
0,001 |
176KB |
Subtask |
Scor |
Scor maxim |
|---|---|---|
1 |
0,0 |
25
|
2 |
0,0 |
45
|
3 |
0,0 |
30
|