QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#425231 | #3476. 3D Printed Statues | amirbourvine | AC ✓ | 0ms | 3692kb | C++11 | 221b | 2024-05-30 02:17:16 | 2024-05-30 02:17:17 |
Judging History
answer
#include <iostream>
#include <vector>
using namespace std;
#include <algorithm>
int main()
{
int n, num=1, counter=1;
cin >> n;
while(num<n){
num*=2;
counter+=1;
}
cout << counter;
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3652kb
input:
1
output:
1
result:
ok single line: '1'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
5
output:
4
result:
ok single line: '4'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
5293
output:
14
result:
ok single line: '14'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
9176
output:
15
result:
ok single line: '15'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
2939
output:
13
result:
ok single line: '13'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
858
output:
11
result:
ok single line: '11'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
3384
output:
13
result:
ok single line: '13'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
2023
output:
12
result:
ok single line: '12'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
3547
output:
13
result:
ok single line: '13'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
9603
output:
15
result:
ok single line: '15'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
2309
output:
13
result:
ok single line: '13'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
6091
output:
14
result:
ok single line: '14'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
358
output:
10
result:
ok single line: '10'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3488kb
input:
1023
output:
11
result:
ok single line: '11'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
2944
output:
13
result:
ok single line: '13'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
9
output:
5
result:
ok single line: '5'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
3370
output:
13
result:
ok single line: '13'
Test #18:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
2047
output:
12
result:
ok single line: '12'
Test #19:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
3308
output:
13
result:
ok single line: '13'
Test #20:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
16
output:
5
result:
ok single line: '5'
Test #21:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
1492
output:
12
result:
ok single line: '12'
Test #22:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
3
output:
3
result:
ok single line: '3'
Test #23:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
7
output:
4
result:
ok single line: '4'
Test #24:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
513
output:
11
result:
ok single line: '11'
Test #25:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
63
output:
7
result:
ok single line: '7'
Test #26:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
256
output:
9
result:
ok single line: '9'
Test #27:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
2
output:
2
result:
ok single line: '2'
Test #28:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
10000
output:
15
result:
ok single line: '15'
Test #29:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
9999
output:
15
result:
ok single line: '15'
Test #30:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
4
output:
3
result:
ok single line: '3'
Test #31:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
8191
output:
14
result:
ok single line: '14'
Test #32:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
8192
output:
14
result:
ok single line: '14'
Test #33:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
8193
output:
15
result:
ok single line: '15'