結果
| 問題 | No.296 n度寝 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-12 22:33:35 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 523 bytes |
| コンパイル時間 | 3,638 ms |
| コンパイル使用メモリ | 73,888 KB |
| 実行使用メモリ | 56,072 KB |
| 最終ジャッジ日時 | 2024-07-19 23:15:28 |
| 合計ジャッジ時間 | 4,640 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 10 |
ソースコード
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();
}
}