Submission #966939


Source Code Expand

#include <bits/stdc++.h>

#define REP(i, n) for(int (i) = 0; (i) < (n); (i)++)
#define REPR(i, n) for(int (i) = (n); (i) >= 0; (i)--)
#define FOR(i, m, n) for(int (i) = (m); (i) < (n); (i)++)
#define RFOR(i, a, b) for (int (i) = (b) - 1; (i) >= (a); (i)--)

#define SORT(v, n) sort(v, v + n)
#define VSORT(v) sort(v.begin(), v.end())
#define REVERSE(v, n) reverse(v, v + n)
#define SIZE(v) (sizeof(v) / sizeof(v[0]))
#define ALLCOUNT(v, n, x) count(v, v + n, x)

#define PUT(x)  cout << #x << ": " << x << endl
#define ll long long

int dy[] = {0, 0, 1, -1};
int dx[] = {1, -1, 0, 0};

using namespace std;

int main(){
    double a, b, c;cin >> a >> b >> c;
    cout << c / a * b << endl; 
}

Submission Info

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

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
AC × 1
WA × 1
AC × 8
WA × 2
Set Name Test Cases
Sample 00_example_01.txt, 00_example_02.txt
All 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 AC 3 ms 256 KB
00_example_02.txt WA 2 ms 256 KB
10_rand_01.txt AC 3 ms 256 KB
10_rand_02.txt AC 3 ms 256 KB
10_rand_03.txt AC 2 ms 256 KB
10_rand_04.txt AC 2 ms 256 KB
10_rand_05.txt AC 2 ms 256 KB
10_rand_06.txt AC 2 ms 256 KB
20_hand_01.txt AC 2 ms 256 KB
20_hand_02.txt WA 2 ms 256 KB