結果
| 問題 | No.3499 I Love DAG |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-19 10:09:23 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 630 ms / 2,000 ms |
| コード長 | 254 bytes |
| 記録 | |
| コンパイル時間 | 360 ms |
| コンパイル使用メモリ | 85,760 KB |
| 実行使用メモリ | 100,932 KB |
| 平均クエリ数 | 18782.41 |
| 最終ジャッジ日時 | 2026-04-19 10:13:37 |
| 合計ジャッジ時間 | 16,526 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 40 |
ソースコード
from sys import stdin, stdout
input = stdin.readline
output = stdout.write
n, m = map(int, input().split())
for _ in range(m):
a, b = map(int, input().split())
if a < b:
output("0\n")
else:
output("1\n")
stdout.flush()