結果
問題 | No.1113 二つの整数 / Two Integers |
ユーザー |
![]() |
提出日時 | 2020-07-18 15:00:57 |
言語 | Crystal (1.14.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 159 bytes |
コンパイル時間 | 12,064 ms |
コンパイル使用メモリ | 296,856 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 20:34:43 |
合計ジャッジ時間 | 12,473 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
struct Intdef square?s = Math.sqrt(self).floors * s == selfendenda, b = read_line.split.map &.to_i64puts a.gcd(b).square? ? "Odd" : "Even"