結果
問題 |
No.182 新規性の虜
|
ユーザー |
👑 |
提出日時 | 2019-03-25 22:19:03 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 36 ms / 5,000 ms |
コード長 | 256 bytes |
コンパイル時間 | 164 ms |
コンパイル使用メモリ | 5,248 KB |
実行使用メモリ | 7,432 KB |
最終ジャッジ日時 | 2024-10-09 16:15:45 |
合計ジャッジ時間 | 2,290 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
n = io.read("*n") t = {} for i = 1, n, 1 do a = io.read("*n") if(t[a] == nil) then t[a] = true elseif(t[a] == true) then t[a] = false end end c = 0 for k, v in pairs(t) do if(v == true) then c = c + 1 end end io.write(c)