結果
| 問題 | No.2052 Indegree |
| コンテスト | |
| ユーザー |
ohana
|
| 提出日時 | 2023-10-02 11:33:29 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 151 bytes |
| 記録 | |
| コンパイル時間 | 180 ms |
| コンパイル使用メモリ | 82,280 KB |
| 実行使用メモリ | 66,924 KB |
| 最終ジャッジ日時 | 2024-07-26 13:41:22 |
| 合計ジャッジ時間 | 2,101 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 RE * 1 |
| other | AC * 7 RE * 13 |
ソースコード
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] = False
print(sum(G))
ohana