結果
| 問題 | No.2609 Decreasing GCDs |
| コンテスト | |
| ユーザー |
蜜蜂
|
| 提出日時 | 2024-01-10 01:27:35 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 248 bytes |
| 記録 | |
| コンパイル時間 | 1,730 ms |
| コンパイル使用メモリ | 167,172 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-27 20:08:07 |
| 合計ジャッジ時間 | 2,854 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 22 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i,start,end) for(ll i=start;i<(ll)(end);i++)
int main(){
int n;cin>>n;
int now=0;
rep(i,0,n){
now+=(1<<(n-i-1));
cout<<now<<" ";
}
cout<<endl;
}
蜜蜂