結果
| 問題 |
No.5014 セクスタプル (reactive)
|
| コンテスト | |
| ユーザー |
FplusFplusF
|
| 提出日時 | 2022-12-29 14:05:20 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 23 ms / 2,000 ms |
| コード長 | 643 bytes |
| コンパイル時間 | 1,647 ms |
| 実行使用メモリ | 22,692 KB |
| スコア | 170,542,876 |
| 平均クエリ数 | 35.00 |
| 最終ジャッジ日時 | 2022-12-29 14:08:46 |
| 合計ジャッジ時間 | 8,233 ms |
|
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 100 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for (long long i=0;i<(long long)(n);i++)
#define all(v) v.begin(),v.end()
using ll=long long;
using pll=pair<ll,ll>;
using tll=tuple<ll,ll,ll>;
const ll INF=(1ll<<60);
template<class T> void chmin(T &a,T b){
if(a>b){
a=b;
}
}
template<class T> void chmax(T &a,T b){
if(a<b){
a=b;
}
}
int main(){
vector<pll> v;
rep(i,6){
rep(j,6){
v.emplace_back(i,j);
}
}
random_shuffle(all(v));
rep(i,35){
ll d;
rep(i,6) cin >> d;
cout << v[i].first+1 << " " << v[i].second+1 << endl;
}
}
FplusFplusF