結果
| 問題 | No.1658 Product / Sum |
| コンテスト | |
| ユーザー |
monnu
|
| 提出日時 | 2021-08-28 20:18:12 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 4 ms / 2,000 ms |
| + 798µs | |
| コード長 | 341 bytes |
| 記録 | |
| コンパイル時間 | 2,475 ms |
| コンパイル使用メモリ | 244,116 KB |
| 実行使用メモリ | 9,820 KB |
| 最終ジャッジ日時 | 2026-09-27 18:40:17 |
| 合計ジャッジ時間 | 4,334 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#include <atcoder/all>
using namespace atcoder;
using ll=long long;
using Graph=vector<vector<int>>;
#define MAX 2000000
#define MOD 1000000007
#define INF 1000000000
int main(){
int N,K;
cin>>N>>K;
cout<<2*K+N-2<<" "<<2*K;
for(int i=0;i<N-2;i++){
cout<<' '<<1;
}
cout<<'\n';
}
monnu