結果
| 問題 | No.651 E869120 and Driving | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2018-03-04 00:12:57 | 
| 言語 | Java (openjdk 23) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 135 ms / 1,000 ms | 
| コード長 | 594 bytes | 
| コンパイル時間 | 3,598 ms | 
| コンパイル使用メモリ | 75,020 KB | 
| 実行使用メモリ | 54,596 KB | 
| 最終ジャッジ日時 | 2024-09-22 08:57:05 | 
| 合計ジャッジ時間 | 5,614 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
ソースコード
import java.io.*;
import java.util.*;
public class Main_yukicoder651 {
	private static Scanner sc;
	private static Printer pr;
	private static void solve() {
		int a = sc.nextInt();
		int m = a / 10 * 6;
		int h = m / 60;
		pr.printf("%02d:%02d\n", (10 + h) % 24, m % 60);
	}
	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);
		solve();
		pr.close();
		sc.close();
	}
	private static class Printer extends PrintWriter {
		Printer(PrintStream out) {
			super(out);
		}
	}
}
            
            
            
        