結果

問題 No.651 E869120 and Driving
ユーザー kazuki794kazuki794
提出日時 2018-03-06 14:35:04
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 478 bytes
コンパイル時間 533 ms
コンパイル使用メモリ 28,668 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-19 02:21:34
合計ジャッジ時間 1,154 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <stdio.h>
#include <math.h>

int main(void){
  double a = 0;
  double time = 0.00;
  double seisuu = 0.00;
  double hour = 0.00;
  double syosuu = 0.00;
  double minitue = 0.00;

  double hoge = 0.00;
  double tmp = 0.00;


  scanf("%lf", &a);

  time = (a/100) + 10;


  syosuu = modf(time, &hour);

  minitue = syosuu * 60.0;

  if(minitue<10)
    printf("%d:0%d\n",(int)hour,(int)minitue + 1);
  else
    printf("%d:%d\n",(int)hour,(int)minitue + 1);

  return 0;
}
0