結果
| 問題 |
No.652 E869120 and TimeZone
|
| コンテスト | |
| ユーザー |
fal_rnd
|
| 提出日時 | 2018-02-27 00:25:15 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 271 bytes |
| コンパイル時間 | 2,216 ms |
| コンパイル使用メモリ | 74,740 KB |
| 実行使用メモリ | 54,312 KB |
| 最終ジャッジ日時 | 2024-12-17 13:49:36 |
| 合計ジャッジ時間 | 8,254 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 29 WA * 1 |
ソースコード
import java.util.Scanner;
class Main{
public static void main(String[]$) {
Scanner s=new Scanner(System.in);
int t=900+s.nextInt()*60+s.nextInt()
+(int)(Double.parseDouble(s.next().substring(3))*60);
t%=1440;
System.out.printf("%02d:%02d\n",t/60,t%60);
}
}
fal_rnd