結果
| 問題 | No.3499 I Love DAG |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-18 08:54:03 |
| 言語 | C++23(gnu拡張) (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 2,400 bytes |
| 記録 | |
| コンパイル時間 | 5,158 ms |
| コンパイル使用メモリ | 378,336 KB |
| 実行使用メモリ | 30,320 KB |
| 平均クエリ数 | 12684.24 |
| 最終ジャッジ日時 | 2026-04-18 08:54:38 |
| 合計ジャッジ時間 | 13,616 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 WA * 30 |
ソースコード
#line 1 "/home/kinugoshi/Kyopro/kinugoshi_Library/kinugoshi/overwrite/overwrite_io.hpp"
#include <atcoder/modint>
#include <iostream>
#include <utility>
#include <vector>
namespace std {
template <int m, std::enable_if_t<(1 <= m)> * = nullptr>
ostream &operator<<(ostream &os, const atcoder::static_modint<m> &v) {
os << v.val();
return os;
}
template <typename T, typename U>
ostream &operator<<(ostream &os, const pair<T, U> &v) {
os << v.first << " " << v.second;
return os;
}
template <typename T, typename U>
istream &operator>>(istream &is, pair<T, U> &v) {
is >> v.first >> v.second;
return is;
}
template <typename T> ostream &operator<<(ostream &os, const vector<T> &v) {
for(int i = 0; i < (int)v.size(); i++) {
os << v[i] << (i != (int)v.size() - 1 ? " " : "");
}
return os;
}
template <typename T> istream &operator>>(istream &is, vector<T> &v) {
for(T &in : v)
is >> in;
return is;
}
template <typename T>
ostream &operator<<(ostream &os, const vector<vector<T>> &v) {
for(int i = 0; i < (int)v.size(); i++) {
for(int j = 0; j < (int)v[i].size(); j++) {
os << v[i][j] << (j != (int)v.size() - 1 ? " " : "\n");
}
}
return os;
}
} // namespace std
#line 2 "/home/kinugoshi/Kyopro/kinugoshi_Library/kinugoshi/overwrite/template.hpp"
#include <atcoder/all>
#include <bits/stdc++.h>
using namespace std;
using namespace atcoder;
using ll = long long;
using ld = long double;
#define all(v) v.begin(), v.end()
#define rall(v) v.rbegin(), v.rend()
#define rep(a, b) for(long long a = 0; a < (long long)(b); a++)
#define repi(a, b) for(int a = 0; a < (int)(b); a++)
#define repr(a, b) for(long long a = (long long)(b)-1; a >= 0; a--)
#define repo(a, b) for(int a = (int)(b)-1; a >= 0; a--)
template <typename T> inline void chmin(T &a, T b) { a = min(a, b); }
template <typename T> inline void chmax(T &a, T b) { a = max(a, b); }
inline void YesNo(bool ret) {
if(ret)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
#line 2 "main.cpp"
using mint = modint998244353;
// using namespace kinugoshi;
// using namespace boost::multiprecision;
int op(int a, int b) { return min(a, b); }
int e() { return 2147483647; }
int main() {
int N, M;
cin >> N >> M;
while(N--) {
int A, B;
cin >> A >> B;
cout << ((A < B) ? 0 : 1) << endl;
}
}