結果

問題 No.5016 Worst Mayor
ユーザー FplusFplusFFplusFplusF
提出日時 2023-04-29 13:03:42
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 87 ms / 2,000 ms
コード長 587 bytes
コンパイル時間 2,443 ms
コンパイル使用メモリ 198,516 KB
実行使用メモリ 24,408 KB
スコア 1,050,000,000
平均クエリ数 400.00
最終ジャッジ日時 2023-04-29 13:03:52
合計ジャッジ時間 9,306 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
純コード判定しない問題か言語
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
24,384 KB
testcase_01 AC 85 ms
23,400 KB
testcase_02 AC 80 ms
24,348 KB
testcase_03 AC 80 ms
23,556 KB
testcase_04 AC 81 ms
23,688 KB
testcase_05 AC 79 ms
23,868 KB
testcase_06 AC 80 ms
24,036 KB
testcase_07 AC 79 ms
23,664 KB
testcase_08 AC 80 ms
23,988 KB
testcase_09 AC 79 ms
23,400 KB
testcase_10 AC 79 ms
24,276 KB
testcase_11 AC 87 ms
23,376 KB
testcase_12 AC 80 ms
23,856 KB
testcase_13 AC 78 ms
23,808 KB
testcase_14 AC 79 ms
23,976 KB
testcase_15 AC 80 ms
23,400 KB
testcase_16 AC 79 ms
23,688 KB
testcase_17 AC 78 ms
23,424 KB
testcase_18 AC 78 ms
24,408 KB
testcase_19 AC 81 ms
23,376 KB
testcase_20 AC 79 ms
23,412 KB
testcase_21 AC 80 ms
23,628 KB
testcase_22 AC 86 ms
24,288 KB
testcase_23 AC 78 ms
23,412 KB
testcase_24 AC 80 ms
23,856 KB
testcase_25 AC 80 ms
23,664 KB
testcase_26 AC 79 ms
24,012 KB
testcase_27 AC 81 ms
23,424 KB
testcase_28 AC 80 ms
23,376 KB
testcase_29 AC 80 ms
24,036 KB
testcase_30 AC 80 ms
23,628 KB
testcase_31 AC 80 ms
23,424 KB
testcase_32 AC 87 ms
23,628 KB
testcase_33 AC 79 ms
23,544 KB
testcase_34 AC 80 ms
23,532 KB
testcase_35 AC 80 ms
23,820 KB
testcase_36 AC 80 ms
24,264 KB
testcase_37 AC 79 ms
23,676 KB
testcase_38 AC 79 ms
23,652 KB
testcase_39 AC 78 ms
24,036 KB
testcase_40 AC 80 ms
23,376 KB
testcase_41 AC 81 ms
24,348 KB
testcase_42 AC 79 ms
23,640 KB
testcase_43 AC 80 ms
23,412 KB
testcase_44 AC 81 ms
24,084 KB
testcase_45 AC 81 ms
23,376 KB
testcase_46 AC 80 ms
23,400 KB
testcase_47 AC 79 ms
23,676 KB
testcase_48 AC 79 ms
23,448 KB
testcase_49 AC 81 ms
23,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll=long long;
using pll=pair<ll,ll>;
using tll=tuple<ll,ll,ll>;
const ll INF=(1ll<<60);
#define rep(i,n) for (ll i=0;i<(ll)(n);i++)
#define all(v) v.begin(),v.end()
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(){
    ll n,t;
    cin >> n >> t;
    rep(i,n){
        rep(j,4){
            ll x;
            cin >> x;
        }
    }
    while(t--){
        ll u,v;
        cin >> u >> v;
        cout << "3" << endl;
    }
}
0