結果
| 問題 |
No.1351 Sum of GCD Equals LCM
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-09 17:22:35 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 210 bytes |
| コンパイル時間 | 1,709 ms |
| コンパイル使用メモリ | 191,100 KB |
| 最終ジャッジ日時 | 2025-01-22 20:06:38 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 50 |
ソースコード
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using std::cin;
using std::cout;
int main() {
int n;
cin >> n;
rep(i, n - 1) cout << 1 << " ";
cout << n << '\n';
return 0;
}