結果
問題 | No.1040 垂直大学 |
ユーザー |
![]() |
提出日時 | 2020-05-01 21:27:41 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 249 bytes |
コンパイル時間 | 3,806 ms |
コンパイル使用メモリ | 64,088 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-24 21:58:49 |
合計ジャッジ時間 | 4,940 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
import strutilslet read = iterator: string {.closure.} =while true:for s in stdin.readLine.split:yield sproc main() =let n = read().parseIntif n mod 360 == 90 or n mod 360 == 270:echo "Yes"else:echo "No"main()