結果

問題 No.651 E869120 and Driving
ユーザー maicune
提出日時 2019-09-02 14:17:02
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 217 bytes
コンパイル時間 1,327 ms
コンパイル使用メモリ 161,404 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-15 07:29:31
合計ジャッジ時間 1,796 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
int main(){
    int a,b,c;
    cin>>a;
    b=10+a/100,c=ceil(a%100/100.0*60);
    ostringstream ans;
    ans<<b<<':'<<setw(2)<<setfill('0')<<c;
    cout<<ans.str()<<endl;
}
0