結果
問題 |
No.3192 Diameter Puzzle
|
ユーザー |
![]() |
提出日時 | 2025-06-27 21:27:54 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 247 bytes |
コンパイル時間 | 959 ms |
コンパイル使用メモリ | 97,284 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-06-27 21:27:56 |
合計ジャッジ時間 | 1,375 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n = 100, m = n * (n - 1) / 2; cout << m << endl; for (int i = 1; i < n; ++i) for (int j = i + 1; j <= n; ++j) cout << i << ' ' << j << endl; }