結果

問題 No.932 解法破綻!高橋君
ユーザー hnthnt
提出日時 2019-12-07 01:47:18
言語 Java21
(openjdk 21)
結果
MLE  
(最新)
AC  
(最初)
実行時間 -
コード長 585 bytes
コンパイル時間 3,156 ms
コンパイル使用メモリ 72,816 KB
実行使用メモリ 64,616 KB
最終ジャッジ日時 2023-08-25 20:17:24
合計ジャッジ時間 7,773 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
55,792 KB
testcase_01 AC 116 ms
55,640 KB
testcase_02 AC 116 ms
55,624 KB
testcase_03 AC 116 ms
56,280 KB
testcase_04 AC 116 ms
55,920 KB
testcase_05 AC 116 ms
55,884 KB
testcase_06 AC 115 ms
55,652 KB
testcase_07 AC 115 ms
55,884 KB
testcase_08 AC 116 ms
55,956 KB
testcase_09 AC 117 ms
56,048 KB
testcase_10 AC 118 ms
55,780 KB
testcase_11 AC 119 ms
55,944 KB
testcase_12 AC 121 ms
55,904 KB
testcase_13 AC 121 ms
55,624 KB
testcase_14 AC 127 ms
56,236 KB
testcase_15 AC 117 ms
55,484 KB
testcase_16 AC 129 ms
55,720 KB
testcase_17 AC 263 ms
63,820 KB
testcase_18 MLE -
testcase_19 MLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class no932 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        final String FAILED = "Failed...";
        final String DONE = "Done!";
        String[] s = sc.next().split(",");
        boolean failedFlag = false;
        for (String tmp : s) {
            if (!tmp.equals("AC")) {
                failedFlag = true;
                break;
            }
        }
        if (failedFlag) {
            System.out.println(FAILED);
        } else {
            System.out.println(DONE);
        }
    }
}
0