結果

問題 No.2887 Minahoshi (Easy)
コンテスト
ユーザー VvyLw
提出日時 2024-09-15 02:03:10
言語 C++23
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=c++23 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 440 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,315 ms
コンパイル使用メモリ 173,644 KB
実行使用メモリ 1,250,544 KB
最終ジャッジ日時 2026-04-04 16:26:19
合計ジャッジ時間 5,988 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge5_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other WA * 7 RE * 1 MLE * 2 OLE * 1 -- * 16
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#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';
}
0