結果
問題 | No.5013 セクスタプル (open) |
ユーザー | FplusFplusF |
提出日時 | 2022-12-29 14:02:43 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 602 bytes |
コンパイル時間 | 1,946 ms |
実行使用メモリ | 5,164 KB |
スコア | 3,781 |
最終ジャッジ日時 | 2022-12-29 14:05:11 |
合計ジャッジ時間 | 7,238 ms |
ジャッジサーバーID (参考情報) |
judge11 / 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,36){cout << v[i].first+1 << " " << v[i].second+1 << endl;}}