結果
問題 | No.516 赤と青の風船 |
ユーザー | phspls |
提出日時 | 2020-03-28 14:50:10 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 52 ms / 2,000 ms |
コード長 | 383 bytes |
コンパイル時間 | 1,928 ms |
コンパイル使用メモリ | 100,184 KB |
実行使用メモリ | 22,456 KB |
最終ジャッジ日時 | 2023-08-30 17:41:59 |
合計ジャッジ時間 | 3,135 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 50 ms
20,364 KB |
testcase_01 | AC | 51 ms
22,416 KB |
testcase_02 | AC | 50 ms
20,488 KB |
testcase_03 | AC | 51 ms
20,444 KB |
testcase_04 | AC | 52 ms
22,456 KB |
testcase_05 | AC | 51 ms
20,388 KB |
testcase_06 | AC | 49 ms
18,476 KB |
testcase_07 | AC | 49 ms
20,412 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Linq; public class P0516 { public static void Main() { var s1 = Console.ReadLine().Trim().Length; var s2 = Console.ReadLine().Trim().Length; var s3 = Console.ReadLine().Trim().Length; if(s1 + s2 + s3 > 10) { Console.WriteLine("BLUE"); } else { Console.WriteLine("RED"); } } }