結果
| 問題 | No.3499 I Love DAG |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-18 02:20:39 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 294 ms / 2,000 ms |
| コード長 | 383 bytes |
| 記録 | |
| コンパイル時間 | 1,871 ms |
| コンパイル使用メモリ | 208,000 KB |
| 実行使用メモリ | 30,320 KB |
| 平均クエリ数 | 18782.41 |
| 最終ジャッジ日時 | 2026-04-18 02:20:52 |
| 合計ジャッジ時間 | 12,402 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 40 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll,ll> P;
#define REP(i,n) for(ll i=0;i<ll(n);i++)
int main(void){
cin.tie(nullptr); ios_base::sync_with_stdio(false);
ll i,j;
ll N,M;
cin >> N >> M;
while(M--){
ll A,B;
cin >>A>> B;
if(A>B) cout << 0 << endl;
else cout << 1 << endl;
}
return 0;
}