結果

問題 No.1040 垂直大学
ユーザー cedretaber
提出日時 2020-05-03 03:13:45
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 208 bytes
コンパイル時間 728 ms
コンパイル使用メモリ 101,544 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-22 06:54:02
合計ジャッジ時間 1,231 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;

void main()
{
    auto N = readln.chomp.to!int % 360;
    writeln(N == 90 || N == 270 ? "Yes" : "No");
}
0