結果

問題 No.3192 Diameter Puzzle
ユーザー noya2
提出日時 2025-06-26 03:29:16
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 3,158 ms
コンパイル使用メモリ 275,308 KB
実行使用メモリ 7,840 KB
最終ジャッジ日時 2025-06-26 03:37:30
合計ジャッジ時間 3,883 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
    cout << 100 << '\n';
    for (int i = 0; i < 100; i++){
        int u = i, v = (i + 1) % 100;
        cout << u+1 << ' ' << v+1 << '\n';
    }
}
0