結果
| 問題 | No.3499 I Love DAG |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-03-15 05:48:34 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 256 bytes |
| 記録 | |
| コンパイル時間 | 475 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 87,408 KB |
| 最終ジャッジ日時 | 2026-04-17 19:35:56 |
| 合計ジャッジ時間 | 12,137 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 1 |
| other | TLE * 1 -- * 39 |
ソースコード
N,Q = map(int,input().split())
for _ in range(N-1):
A,B = map(int,input().split())
if A < B:
print(0,end = "")
else:
print(1,end = "")
print()
for _ in range(Q):
C,D = map(int,input().split())
if C < D:
print(0)
else:
print(1)