結果

問題 No.651 E869120 and Driving
ユーザー yu2548_yu2548_
提出日時 2018-04-27 16:14:26
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 1,538 ms
コンパイル使用メモリ 27,104 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-10 06:13:39
合計ジャッジ時間 1,282 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 1 ms
4,384 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main(){
    int a,h,m;
    scanf("%d",&a);
    h=a/100;
    m=((a-h*100)/100)*60;
    h=h+10;
   if(0<=m&&10>m){printf("%02d:0%d\n",h,m);}
  else printf("%d:%d\n",h,m);
    
}
0