結果
| 問題 |
No.2502 Optimization in the Dark
|
| コンテスト | |
| ユーザー |
emthrm
|
| 提出日時 | 2023-07-25 17:44:54 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 454 bytes |
| コンパイル時間 | 720 ms |
| コンパイル使用メモリ | 77,184 KB |
| 実行使用メモリ | 25,656 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-09-15 16:06:38 |
| 合計ジャッジ時間 | 4,012 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 43 |
ソースコード
#include <array>
#include <cassert>
#include <iostream>
#include <string>
#include <utility>
// <不定>
// 同じ山札からカードを取り除いている。
int main() {
constexpr int kMaxN = 100;
int n;
std::cin >> n;
assert(1 <= n && n <= kMaxN);
std::cout << '!';
for (int i = 1; i <= 3; ++i) {
for (int turn = 1; turn <= n; ++turn) {
std::cout << ' ' << i << ' ' << i;
}
}
std::cout << std::endl;
return 0;
}
emthrm