Submission #78711


ソースコード

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

ステータス

項目 データ
問題 1750 - 無限ビスケット
ユーザー名 ei2331
投稿日時 2024-04-30 17:57:34
言語 C++17
状態 Accepted
得点 10
ソースコード長 167 Byte
最大実行時間 26 ms
最大メモリ使用量 648 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1.txt AC 19 ms 476 KB
1
in2.txt AC 17 ms 448 KB
1
in3.txt AC 26 ms 548 KB
1
in4.txt AC 21 ms 648 KB
1
in5.txt AC 20 ms 612 KB
1
in6.txt AC 23 ms 584 KB
1
inMAX.txt AC 19 ms 556 KB
1
insample1.txt AC 20 ms 532 KB
1
insample2.txt AC 24 ms 504 KB
1
insample3.txt AC 26 ms 476 KB
1