結果
| 問題 | No.3499 I Love DAG |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-05-09 20:15:13 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 372 bytes |
| 記録 | |
| コンパイル時間 | 2,695 ms |
| コンパイル使用メモリ | 328,240 KB |
| 実行使用メモリ | 46,528 KB |
| 最終ジャッジ日時 | 2026-05-09 20:15:45 |
| 合計ジャッジ時間 | 9,796 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 1 |
| other | TLE * 1 -- * 39 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
void solve()
{
int n, m;
cin >> n >> m;
for (int i=0; i<m; ++i)
{
int a, b;
cin >> a >> b;
if (a > b) cout << 0 << "\n";
else cout << 1 << "\n";
}
}
int main(int argc, char *argv[])
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
solve();
return 0;
}