結果
問題 | No.841 8/32 |
ユーザー |
![]() |
提出日時 | 2019-07-01 17:22:45 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 697 bytes |
コンパイル時間 | 3,178 ms |
コンパイル使用メモリ | 103,504 KB |
実行使用メモリ | 22,560 KB |
最終ジャッジ日時 | 2023-09-24 21:51:54 |
合計ジャッジ時間 | 5,344 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 52 ms
22,484 KB |
testcase_01 | AC | 51 ms
20,612 KB |
testcase_02 | AC | 52 ms
20,504 KB |
testcase_03 | AC | 53 ms
20,532 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 52 ms
20,668 KB |
testcase_07 | AC | 52 ms
20,456 KB |
testcase_08 | AC | 52 ms
20,564 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | AC | 52 ms
22,480 KB |
testcase_12 | AC | 52 ms
20,380 KB |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | AC | 52 ms
20,512 KB |
testcase_16 | AC | 52 ms
20,588 KB |
testcase_17 | WA | - |
testcase_18 | AC | 52 ms
20,500 KB |
testcase_19 | AC | 52 ms
20,440 KB |
testcase_20 | AC | 51 ms
18,436 KB |
testcase_21 | AC | 53 ms
20,500 KB |
testcase_22 | AC | 53 ms
22,560 KB |
testcase_23 | AC | 51 ms
20,676 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.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); if(str[0]=="Sat"||str[0]=="Sun"&& str[1] == "Sat" || str[1]=="Sun") { Console.WriteLine("8/33"); } else if(str[0] == "Sat" || str[0] == "Sun" || str[1] == "Sat" || str[1] == "Sun") { Console.WriteLine("8/32"); } else { Console.WriteLine("8/31"); } } } }