結果
問題 | No.932 解法破綻!高橋君 |
ユーザー |
![]() |
提出日時 | 2019-11-29 21:41:45 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 44 ms / 2,000 ms |
コード長 | 470 bytes |
コンパイル時間 | 953 ms |
コンパイル使用メモリ | 107,904 KB |
実行使用メモリ | 31,524 KB |
最終ジャッジ日時 | 2024-11-20 21:40:09 |
合計ジャッジ時間 | 2,357 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
コンパイルメッセージ
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; using System.Collections.Generic; using System.IO; class MyClass { public static void Solve() { var S = Console.ReadLine().Split(','); Console.WriteLine(S.Any(x => x != "AC") ? "Failed..." : "Done!"); } public static void Main() { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Console.Out.Flush(); } }