結果
| 問題 |
No.1119 Division 3
|
| コンテスト | |
| ユーザー |
bluemegane
|
| 提出日時 | 2020-07-25 11:33:51 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 1,000 ms |
| コード長 | 362 bytes |
| コンパイル時間 | 3,601 ms |
| コンパイル使用メモリ | 106,520 KB |
| 実行使用メモリ | 26,248 KB |
| 最終ジャッジ日時 | 2024-06-27 01:08:41 |
| 合計ジャッジ時間 | 4,751 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
public class Hello
{
static void Main()
{
getAns();
}
static void getAns()
{
string[] line = Console.ReadLine().Trim().Split(' ');
for (int i = 0; i < 3; i++)
{
if (int.Parse(line[i]) % 3 == 0) { Console.WriteLine("Yes"); return; }
}
Console.WriteLine("No");
}
}
bluemegane