結果
| 問題 |
No.1040 垂直大学
|
| コンテスト | |
| ユーザー |
No
|
| 提出日時 | 2020-05-01 21:24:48 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 368 bytes |
| コンパイル時間 | 908 ms |
| コンパイル使用メモリ | 108,976 KB |
| 実行使用メモリ | 25,688 KB |
| 最終ジャッジ日時 | 2024-12-24 21:51:48 |
| 合計ジャッジ時間 | 2,307 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 4 WA * 13 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
namespace a
{
class a
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
if (n % 90 == 0 || n % 180 != 0)
{
Console.WriteLine("Yes");
}
else
{
Console.WriteLine("No");
}
}
}
}
No