結果
| 問題 |
No.2609 Decreasing GCDs
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-24 13:04:16 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 3,159 bytes |
| コンパイル時間 | 1,809 ms |
| コンパイル使用メモリ | 166,028 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-28 07:06:38 |
| 合計ジャッジ時間 | 5,343 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 22 |
ソースコード
#include <bits/stdc++.h>
typedef long long int ll;
typedef unsigned long long int ull;
using namespace std;
// TAGS
#define nl '\n'
#define pb push_back
#define pf push_front
#define lb lower_bound
#define ub upper_bound
// Generic
#define fi first
#define se second
#define all(v) v.begin(),v.end() // inicio - fin
#define rall(v) v.rbegin(),v.rend() // fin - inicio
// CodeForces Optional
#define YES cout << "YES" << nl;
#define NO cout << "NO" << nl;
#define YESNO(x) cout << ((x)? "YES" : "NO") << nl;
#define jmp cout << nl;
#define fix cout << fixed << setprecision(15);
#define ii pair<int,int> // 2
#define iii pair<ii,int> // 3
#define iiii pair<ii,ii> // 4
// Debuging
#define qwer cerr << "----------------------" << endl;
#define debugList(A) if(debug) { cerr << "? " << #A << ": "; if(debug) { bool band = 0; cerr << "[ "; for(auto x : A) { if(!band) cerr << x , band = 1; else cerr << " , " << x ;} cerr << " ]" << endl; } }
#define debugVar(A) if(debug) { cerr << "? " << #A << " : " << A << endl; }
#define debugPair(a,b) if(debug) { cerr << "?? " << #a << " : " << a << " | " << #b << " : " << b << endl; }
#define printList(A) bool band = 0; for(auto x : A) { if(!band) {cout << x; band = 1;}else {cout << " " << x;}} cout << endl;
#define debugIterablePairs(P) if(debug) { qwer cerr << "? " << #P << " : "; cerr << "{ " << endl; for(auto it : P) { cerr << " " << it.first << " -> " << it.second << endl; } cerr << "} " << endl; qwer }
#define debugGraph(GP) if(debug) { cerr << "? " << #GP << " = "; cerr << "{ " << endl; int cntNodes = 0; for(vi adj : GP) { if(adj.size()) { cerr << " "; cerr << cntNodes << " => "; debugList(adj) } cntNodes ++;} cerr << "}" << endl;}
#define debugGraphWeight(GP) if(debug) { qwer cerr << "? " << #GP << " = {" << endl; int cntNodes = 0; for(auto it : GP ){ if( it.size() ){ cerr << cntNodes << " => [ "; for(auto iter : it){ cerr << iter.fi << "-w{" << iter.se << "} "; } cerr << "]" << endl; } cntNodes++; } qwer }
#define executeTime cerr << "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << " s.\n";
#define FOR(i,a,b) for(int i=a ; i<b ; i++)
#define mem(v,x) memset(v, (x), sizeof(v))
#define sz(a) (int) a.size()
#define make_unique(x) sort(all((x))); (x).resize(unique(all((x))) - (x).begin())
typedef vector<int> vi;
typedef vector<ii> vii;
typedef vector<ll> vll;
// Const
const int N = 2e5 + 9;
const int mod = 1e9 + 7;
const int inf = 2e9 + 9;
const ll modL = 1e9 + 7;
const ll infL = 2e18 + 9;
const double pi = acos(-1);
void init();
bool debug = { 0 };
void solve() {
int n;
cin >> n;
int index = n;
FOR(i,0,n) {
cout << index << " ";
index += n;
}
jmp;
}
int main(){
//init();
cin.tie(0); ios_base::sync_with_stdio(0);
int N = 1;
//cin >> N;
while(N--) solve();
//executeTime;
return 0;
}
void init(){
//#ifndef ONLINE_JUDGE
// freopen("input.txt","r",stdin);
// freopen("output.txt","w",stdout);
// freopen("error.txt","w",stderr);
// #endif
cerr << "Mood Try Winner ALL\n";
cerr << "Never Ctrl + C - Ctrl + V\n";
}