結果
問題 |
No.3192 Diameter Puzzle
|
ユーザー |
|
提出日時 | 2025-06-27 21:34:19 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 607 bytes |
コンパイル時間 | 1,432 ms |
コンパイル使用メモリ | 161,456 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-06-27 21:34:24 |
合計ジャッジ時間 | 1,789 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
#include<bits/stdc++.h> #define rep(i,n) for(int i=0; i< (n); i++) #define all(a) (a).begin(),(a).end() using namespace std; typedef long long ll; typedef pair<int,int> P; const int mod = 998244353; const int inf = (1<<30); const ll INF = (1ull<<62); const int vx[4] = {1,0,-1,0}; const int vy[4] = {0,1,0,-1}; template< typename T1, typename T2 > inline bool chmax(T1 &a, T2 b) { return a < b && (a = b, true); } template< typename T1, typename T2 > inline bool chmin(T1 &a, T2 b) { return a > b && (a = b, true); } int main(){ cout<<99<<endl; rep(i,99){ cout<<i+1<<" "<<i+2<<endl; } }