結果

問題 No.3099 夜の道路は気をつけて運転しなければならない
ユーザー yuusaanyuusaan
提出日時 2023-12-23 16:30:25
言語 C++23
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 692 bytes
コンパイル時間 2,099 ms
コンパイル使用メモリ 119,284 KB
実行使用メモリ 6,548 KB
最終ジャッジ日時 2023-12-23 16:30:28
合計ジャッジ時間 2,134 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>
#include <iomanip>
#include <string>
#include <stdio.h>
#include <algorithm>
#include <vector>
#include <tuple>
#include <map>
#include<set>
#include<queue>
#include<stack>
#include <unordered_set>
//#include<bits/stdc++.h>

//cout << fixed << setprecision(3)
// static_cast<double>( )
//if(a < 0 || h <= a || b < 0 || w <= b)return;
// string abc = "abcdefghijklmnopqrstuvwxyz";
// string abc = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";

using namespace std;
using ulli = unsigned long long int;
using lli = long long int;


int main(){
    int a, b, c;
    cin >> a >> b >> c;
    double ans = static_cast<double>(c) / b;
    cout << fixed << setprecision(9) << ans;
    return 0;
}
0