結果
| 問題 | No.3499 I Love DAG |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-19 10:05:45 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 846 ms / 2,000 ms |
| コード長 | 254 bytes |
| 記録 | |
| コンパイル時間 | 669 ms |
| コンパイル使用メモリ | 20,832 KB |
| 実行使用メモリ | 35,336 KB |
| 平均クエリ数 | 18782.41 |
| 最終ジャッジ日時 | 2026-04-19 10:13:19 |
| 合計ジャッジ時間 | 27,787 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / 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()