結果

問題 No.1229 ラグビーの得点パターン
ユーザー planetWorldY
提出日時 2020-10-14 19:21:01
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 436 bytes
コンパイル時間 1,864 ms
コンパイル使用メモリ 73,956 KB
実行使用メモリ 41,440 KB
最終ジャッジ日時 2024-07-20 19:15:36
合計ジャッジ時間 5,814 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int score1[] ={5,0,0};
        
        if((score1[0]) == 5){
             System.out.println(1);
        }
        int T = 20;
        int score2[] ={4,0,0};
        
        if((score2[0]) * 5 == T){
            System.out.println(4);
        }
        
        
    }}
0