結果

問題 No.2597 Yet Another Topological Problem
ユーザー suisen
提出日時 2023-11-22 16:54:50
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 356 bytes
コンパイル時間 693 ms
コンパイル使用メモリ 65,916 KB
最終ジャッジ日時 2025-02-17 23:02:32
ジャッジサーバーID
(参考情報)
judge4 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 55
権限があれば一括ダウンロードができます

ソースコード

diff #

// <WA> 端点が x 軸上に無い

#include <iostream>

constexpr int L = 250000;

int main() {
    std::cout << L << '\n';
    int x = 0, y = 0;
    for (int loop = 0; loop < L / 2; ++loop) {
        std::cout << x << ' ' << y << '\n';
        ++y;
        std::cout << x << ' ' << y << '\n';
        ++x;
    }
    std::cout << x << ' ' << y << '\n';
}
0