結果
問題 | No.1432 Not Xor |
ユーザー |
|
提出日時 | 2021-09-28 07:22:28 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 314 bytes |
コンパイル時間 | 3,562 ms |
コンパイル使用メモリ | 66,060 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-07 06:05:38 |
合計ジャッジ時間 | 4,074 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 7 |
ソースコード
#region ccfuncsimport strutilstype TypeInt = typedesc[int]proc read(a: TypeInt, b: TypeInt): (int, int) {.used.} =let data = stdin.readLine.split(data[0].parseInt, data[1].parseInt)proc answer(n: int) {.used.} =echo n#endregionlet (a, b) = read(int, int)answer:(a or b) + (a and b)