Submission #00060


ソースコード

1
2
3
4
5
6
7
8
9
10
11
#include<bits/stdc++.h>
using namespace std;
#define int long long
main(){
int n,a=1;
cin>>n;
while(a<n){
a*=2;
}
cout<<a<<"\n";
}

ステータス

項目 データ
問題 0010 - 無限ビスケット
ユーザー名 ei2326
投稿日時 2024-04-26 16:04:05
言語 C++17
状態 Accepted
得点 10
ソースコード長 168 Byte
最大実行時間 24 ms
最大メモリ使用量 720 KB

セット

セット 得点 Cases
1 ALL 10 / 10 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1.txt AC 17 ms 472 KB
1
in2.txt AC 24 ms 448 KB
1
in3.txt AC 18 ms 420 KB
1
in4.txt AC 20 ms 396 KB
1
in5.txt AC 22 ms 496 KB
1
in6.txt AC 22 ms 720 KB
1
inMAX.txt AC 22 ms 692 KB
1
insample1.txt AC 20 ms 668 KB
1
insample2.txt AC 17 ms 644 KB
1
insample3.txt AC 19 ms 616 KB
1