Submission #00190


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <bits/stdc++.h>
#include<gmpxx.h>
#define yes cout<<"Yes\n"
#define no cout<<"No\n"
#define lmax LONG_LONG_MAX
#define lmin LONG_LONG_MIN
#define imax INT_MAX
#define imin INT_MIN
#define ll long long
using namespace std;
int main(){
long long n;
cin >> n;
unsigned long long b = 1;
while(b<n){
b *= 2;
}
cout << b << endl;
return (0);
}

ステータス

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

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1.txt AC 24 ms 476 KB
1
in2.txt AC 23 ms 576 KB
1
in3.txt AC 19 ms 416 KB
1
in4.txt AC 14 ms 388 KB
1
in5.txt AC 20 ms 360 KB
1
in6.txt AC 19 ms 456 KB
1
inMAX.txt AC 20 ms 548 KB
1
insample1.txt AC 23 ms 644 KB
1
insample2.txt AC 27 ms 612 KB
1
insample3.txt AC 26 ms 456 KB
1