結果

問題 No.651 E869120 and Driving
ユーザー しとお
提出日時 2018-02-23 22:33:13
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 190 bytes
コンパイル時間 559 ms
コンパイル使用メモリ 54,860 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-09 19:45:32
合計ジャッジ時間 1,190 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main(){
  int a;
  cin >> a;
  int h=a/100;
  int m=(a%100)*3/5;
  cout << 10+h << ':';
  if(m>=10)cout << 0;
  cout << m << '\n';
  return 0;
}
0