結果
| 問題 | No.296 n度寝 |
| コンテスト | |
| ユーザー |
Tsukasa_Type
|
| 提出日時 | 2018-02-10 15:16:05 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 335 bytes |
| 記録 | |
| コンパイル時間 | 3,931 ms |
| コンパイル使用メモリ | 81,292 KB |
| 実行使用メモリ | 41,960 KB |
| 最終ジャッジ日時 | 2026-04-30 23:10:56 |
| 合計ジャッジ時間 | 5,889 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 9 |
ソースコード
import java.util.*;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int n = sc.nextInt();
int h = sc.nextInt();
int m = sc.nextInt();
int t = sc.nextInt();
int time = (n-1)*t;
h += time/60;
m += time%60;
System.out.println(h);
System.out.println(m);
}
}
Tsukasa_Type