結果
問題 |
No.8047 Riddle of Cards
|
ユーザー |
![]() |
提出日時 | 2020-05-19 18:00:49 |
言語 | Nim (2.2.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 320 bytes |
コンパイル時間 | 3,827 ms |
コンパイル使用メモリ | 65,340 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-01 22:54:53 |
合計ジャッジ時間 | 4,428 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 6 RE * 1 |
ソースコード
import math, strutils let read* = iterator: string = while true: (for s in stdin.readLine.split: yield s) template input*(T: static[typedesc]): untyped = when T is int: read().parseInt elif T is float: read().parseFloat elif T is string: read() elif T is char: read()[0] let N, M = input(int); echo M ^ N