結果

問題 No.651 E869120 and Driving
ユーザー yu2548_yu2548_
提出日時 2018-04-27 16:05:23
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 154 ms
コンパイル使用メモリ 27,072 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-10 06:12:31
合計ジャッジ時間 832 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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