結果
| 問題 | No.1692 Expectations |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-10-06 23:57:14 |
| 言語 | Lua (LuaJit 2.1.1774638290) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 107 ms |
| コンパイル使用メモリ | 6,400 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-03 12:19:13 |
| 合計ジャッジ時間 | 2,189 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 20 |
ソースコード
n, m = io.read("*n", "*n")
c = 0
for i = 1, n do
a = io.read("*n")
t[a] = true
end
for k, v in pairs(t) do
c = c + 1
end
if c == 1 and n == m then
print(c .. " 1")
else
print(c .. " 0")
end