結果
| 問題 | No.2052 Indegree |
| コンテスト | |
| ユーザー |
ohana
|
| 提出日時 | 2023-10-02 11:34:16 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 64 ms / 2,000 ms |
| + 134µs | |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 666 ms |
| コンパイル使用メモリ | 95,724 KB |
| 実行使用メモリ | 79,104 KB |
| 最終ジャッジ日時 | 2026-08-24 11:04:50 |
| 合計ジャッジ時間 | 3,312 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 |
ソースコード
n, m = map(int, input().split())
G = [True for i in range(n)]
for i in range(m):
a, b = map(int, input().split())
G[b - 1] = False
print(sum(G))
ohana