Submission #966903


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;

#define DUMP(x) cerr << #x << "=" << x << endl
#define DUMP2(x, y) cerr<<"("<<#x<<", "<<#y<<") = ("<<x<<", "<<y<<")"<< endl
#define BINARY(x) static_cast<bitset<16> >(x)

#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define REP(i,m,n) for (int i=m;i<(int)(n);i++)

#define in_range(x, y, w, h) (0<=(int)(x) && (int)(x)<(int)(w) && 0<=(int)(y) && (int)(y)<(int)(h))
#define ALL(a) (a).begin(),(a).end()

typedef long long ll;
const int INF = 1e9;
typedef pair<int, int> PII;
int dx[4]={0, -1, 1, 0}, dy[4]={-1, 0, 0, 1};

int main()
{
    double A, B, C;
    cin >> A >> B >> C;
    cout << fixed << setprecision(10) << B / A * C << endl;
}

Submission Info

Submission Time
Task A - SDカード
User OUDON
Language C++14 (GCC 5.4.1)
Score 100
Code Size 688 Byte
Status
Exec Time 3 ms
Memory 256 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 00_example_01.txt, 00_example_02.txt
All 100 / 100 00_example_01.txt, 00_example_02.txt, 10_rand_01.txt, 10_rand_02.txt, 10_rand_03.txt, 10_rand_04.txt, 10_rand_05.txt, 10_rand_06.txt, 20_hand_01.txt, 20_hand_02.txt
Case Name Status Exec Time Memory
00_example_01.txt 3 ms 256 KB
00_example_02.txt 2 ms 256 KB
10_rand_01.txt 2 ms 256 KB
10_rand_02.txt 2 ms 256 KB
10_rand_03.txt 2 ms 256 KB
10_rand_04.txt 2 ms 256 KB
10_rand_05.txt 2 ms 256 KB
10_rand_06.txt 2 ms 256 KB
20_hand_01.txt 2 ms 256 KB
20_hand_02.txt 2 ms 256 KB