結果

問題 No.1390 Get together
コンテスト
ユーザー chineristAC
提出日時 2021-02-12 00:21:16
言語 C++17(gcc12)
(gcc 12.4.0 + boost 1.89.0)
コンパイル:
g++-12 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 798 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 5,123 ms
コンパイル使用メモリ 267,128 KB
実行使用メモリ 20,200 KB
最終ジャッジ日時 2026-06-17 19:36:08
合計ジャッジ時間 9,440 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 29
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include"testlib.h"
#include<iostream>
#include<vector>
#include<string>
#include<map>
#include<set>
#include<queue>
#include<algorithm>
#include<cmath>
#include<iomanip>
#include<random>
#include<stdio.h>
using namespace std;

typedef long long ll;
const long long MIN_N = 1;
const long long MAX_N = 200000;
const long long MIN_M = 1;
const long long MAX_M = 200000;
const long long MIN_a = 0;
const long long MAX_a = 1000000000;

void validate(){
  long long N = inf.readLong(MIN_N,MAX_N);
  inf.readSpace();
  long long M = inf.readLong(MIN_M,MAX_M);
  inf.readEoln();

  for (long long i=0;i<N;i++){
    inf.readLong(1,M);
    inf.readSpace();
    inf.readLong(1,N);
    inf.readEoln();
  }

  inf.readEof();
}

int main(int argc, char* argv[]){
  registerValidation(argc,argv);
  validate();
}
0