結果
| 問題 |
No.3140 Weird Parentheses Game
|
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-08-26 10:36:21 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 291 bytes |
| コンパイル時間 | 2,670 ms |
| コンパイル使用メモリ | 76,976 KB |
| 実行使用メモリ | 46,948 KB |
| 最終ジャッジ日時 | 2025-08-26 10:36:28 |
| 合計ジャッジ時間 | 6,449 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 WA * 12 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt() /2;
String str = scan.nextLine();
if(n % 2 == 0){
System.out.println("second");
}else{
System.out.println("First");
}
}
}
Maeda