結果
| 問題 |
No.397 NO MORE KADOMATSU
|
| コンテスト | |
| ユーザー |
yosupot
|
| 提出日時 | 2016-07-15 22:34:00 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 725 bytes |
| コンパイル時間 | 892 ms |
| コンパイル使用メモリ | 100,008 KB |
| 実行使用メモリ | 25,604 KB |
| 平均クエリ数 | 2432.17 |
| 最終ジャッジ日時 | 2024-07-16 10:35:24 |
| 合計ジャッジ時間 | 4,967 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 13 |
ソースコード
#include <iostream>
#include <cstdio>
#include <cassert>
#include <cstring>
#include <vector>
#include <valarray>
#include <array>
#include <queue>
#include <set>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <algorithm>
#include <cmath>
#include <complex>
#include <random>
using namespace std;
using ll = long long;
using ull = unsigned long long;
constexpr int TEN(int n) {return (n==0)?1:10*TEN(n-1);}
int main() {
int n;
cin >> n;
for (int i = 0; i < n; i++) {
int d;
cin >> d;
}
for (int i = 0; i < n; i++) {
for (int j = n-1; j-1 >= i; j--) {
cout << j-1 << " " << j << endl;
}
}
int d;
cin >> d;
return 0;
}
yosupot