結果

問題 No.651 E869120 and Driving
ユーザー nao109nao109
提出日時 2021-03-29 23:11:52
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 221 bytes
コンパイル時間 1,988 ms
コンパイル使用メモリ 160,760 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-29 17:13:25
合計ジャッジ時間 2,349 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
int main(){
    double s,t;
    cin >> s;
    t=s;
    s=floor(s/100+10);
    cout << s << ":";
    int n=(t/10)*6;
    n=n%60;
    if(n<10) cout << 0;
    cout << n << endl;
}
0