結果
| 問題 |
No.651 E869120 and Driving
|
| コンテスト | |
| ユーザー |
ohagi_1182
|
| 提出日時 | 2018-02-23 23:20:14 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 130 ms / 1,000 ms |
| コード長 | 326 bytes |
| コンパイル時間 | 1,943 ms |
| コンパイル使用メモリ | 75,180 KB |
| 実行使用メモリ | 54,188 KB |
| 最終ジャッジ日時 | 2024-09-22 08:54:44 |
| 合計ジャッジ時間 | 3,813 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
double time = a / 100.0 * 60.0 + 10 * 60.0;
int minute = (int)(time % 60);
int hour = (int)((time / 60) % 24);
System.out.printf("%02d:%02d\n", hour, minute);
}
}
ohagi_1182