結果
問題 |
No.2887 Minahoshi (Easy)
|
ユーザー |
|
提出日時 | 2024-09-15 02:03:10 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 440 bytes |
コンパイル時間 | 1,286 ms |
コンパイル使用メモリ | 103,784 KB |
実行使用メモリ | 805,144 KB |
最終ジャッジ日時 | 2024-09-15 02:03:18 |
合計ジャッジ時間 | 7,670 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 7 RE * 1 MLE * 1 OLE * 1 -- * 17 |
ソースコード
#pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops") #ifdef local #include <C++/core/io/debug_print.hpp> #else #define dump(...) void(0); #endif #include <iostream> #include <ranges> namespace man { } int main() { std::cin.tie(nullptr) -> sync_with_stdio(false); using namespace std::ranges; using namespace std::views; int n; std::cin >> n; std::cout << std::string(n * (n - 1L) / 2, 'a') << '\n'; }