結果
問題 |
No.5016 Worst Mayor
|
ユーザー |
|
提出日時 | 2023-04-29 14:58:20 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 96 ms / 2,000 ms |
コード長 | 535 bytes |
コンパイル時間 | 2,030 ms |
コンパイル使用メモリ | 201,220 KB |
実行使用メモリ | 24,408 KB |
スコア | 550,000,000 |
平均クエリ数 | 500.00 |
最終ジャッジ日時 | 2023-04-29 14:58:44 |
合計ジャッジ時間 | 9,005 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
純コード判定しない問題か言語 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 50 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i,l,r) for(int i=(l);i<(r);++i) int main(){ int n,t; cin>>n>>t; vector<int> a(n),b(n),c(n),d(n); rep(i,0,n) cin>>a[i]>>b[i]>>c[i]>>d[i]; int x=2,y=1,z=2,w=1; rep(i,0,200){ int u,v; cin>>u>>v; cout<<3<<endl; //money } rep(i,0,200){ int u,v; cin>>u>>v; cout<<2<<endl; //supporter } rep(i,0,100){ int u,v; cin>>u>>v; if(u<1e7/sqrt(v)) cout<<3<<endl; //money else{ cout<<1<<x<<y<<z<<w<<endl; //road x++; y++; z++; w++; } } }