結果
問題 | No.1893 Cycle |
ユーザー |
|
提出日時 | 2022-04-11 00:31:42 |
言語 | TypeScript (5.7.2) |
結果 |
AC
|
実行時間 | 67 ms / 2,000 ms |
コード長 | 192 bytes |
コンパイル時間 | 8,342 ms |
コンパイル使用メモリ | 228,832 KB |
実行使用メモリ | 39,424 KB |
最終ジャッジ日時 | 2024-12-31 16:46:58 |
合計ジャッジ時間 | 10,886 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
import * as fs from "fs"; const input = fs.readFileSync("/dev/stdin", "utf8"); const [x, y] = input.split(" ").map((e) => parseInt(e)); const ans = (2 * y - x + 12) % 12; console.log(ans);