結果
問題 | No.296 n度寝 |
ユーザー | bell |
提出日時 | 2021-02-12 22:33:35 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 523 bytes |
コンパイル時間 | 2,103 ms |
コンパイル使用メモリ | 71,336 KB |
実行使用メモリ | 56,216 KB |
最終ジャッジ日時 | 2023-09-27 05:15:43 |
合計ジャッジ時間 | 5,515 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 125 ms
56,136 KB |
testcase_04 | AC | 125 ms
55,808 KB |
testcase_05 | AC | 124 ms
56,076 KB |
testcase_06 | AC | 125 ms
56,012 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | AC | 125 ms
56,024 KB |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | AC | 126 ms
55,708 KB |
testcase_14 | WA | - |
testcase_15 | WA | - |
ソースコード
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); //2 int H=sc.nextInt(); //7 int M=sc.nextInt(); //30 int T=sc.nextInt(); //5 int alerm=0; // for(int i = 0; i<N; i++ ){ // if(M<=59){ alerm+=M+T*(N-1); System.out.println(H); System.out.println(alerm); // } // } sc.close(); } }