結果
| 問題 | No.296 n度寝 |
| コンテスト | |
| ユーザー |
yu_017
|
| 提出日時 | 2019-02-03 09:53:25 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 370 bytes |
| 記録 | |
| コンパイル時間 | 2,336 ms |
| コンパイル使用メモリ | 82,604 KB |
| 実行使用メモリ | 46,844 KB |
| 最終ジャッジ日時 | 2026-05-26 02:53:19 |
| 合計ジャッジ時間 | 4,182 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 8 |
ソースコード
import java.util.Scanner;
public class A000296 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int h = sc.nextInt();
int m = sc.nextInt();
int t = sc.nextInt();
sc.close();
int rh = h;
int rm = m;
rh+=((n-1)*t+m)/60;
rm =((n-1)*t+m)%60;
System.out.println(rh);
System.out.println(rm);
}
}
yu_017