結果
| 問題 |
No.8059 tan
|
| コンテスト | |
| ユーザー |
遭難者
|
| 提出日時 | 2020-09-21 20:15:59 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 364 bytes |
| コンパイル時間 | 2,508 ms |
| コンパイル使用メモリ | 74,832 KB |
| 実行使用メモリ | 41,612 KB |
| 最終ジャッジ日時 | 2024-06-24 17:33:04 |
| 合計ジャッジ時間 | 3,708 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 3 |
ソースコード
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[]args){
Scanner sc = new Scanner(System.in);
PrintWriter ou = new PrintWriter(System.out);
int t = Integer.parseInt(sc.next());
for(int i = 0 ; i < t ; i++){
if(Integer.parseInt(sc.next()) == 45) ou.println("Y");
else ou.println("N");
}
ou.flush();
}
}
遭難者