結果
問題 |
No.932 解法破綻!高橋君
|
ユーザー |
|
提出日時 | 2022-02-17 15:08:09 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 280 ms / 2,000 ms |
コード長 | 470 bytes |
コンパイル時間 | 3,169 ms |
コンパイル使用メモリ | 74,260 KB |
実行使用メモリ | 62,244 KB |
最終ジャッジ日時 | 2024-06-29 07:41:35 |
合計ジャッジ時間 | 6,274 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String[] ary = s.split(","); int flg = 0; for (int i = 0; i < ary.length; i++) { if (ary[i].equals("TLE") || ary[i].equals("MLE") || ary[i].equals("WA")) { flg += 1; } } if (flg > 0) { System.out.println("Failed..."); } else { System.out.println("Done!"); } sc.close(); } }