문제 길어서 음~ 패스하고 식만 줘~ 하다가 숫자들이 의미하는 값 몰라서 다시 처음부터 읽었다.
그래도 빠른 해결 함
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <functional>
#include <string>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <cmath>
#include <cstring>
#include <bitset>
#define xx first
#define yy second
#define all(x) (x).begin(), (x).end()
using namespace std;
using i64 = long long int;
using ii = pair<int, int>;
using ii64 = pair<i64, i64>;
using iii = tuple<int, int, int>;
int main()
{
int s, d, t;
scanf("%d %d %d", &s, &t, &d);
printf("%d\n", d / (s * 2) * t);
return 0;
}
'prompt' 카테고리의 다른 글
[토요라운드] C. 중간고사 채점 (15702) (0) | 2020.12.07 |
---|---|
[토요라운드] B. 2의 제곱수 계산하기 (19946) (0) | 2020.12.07 |
[토요라운드] 20/12/05 후기 (0) | 2020.12.07 |
[토요라운드] C. 사탕 (1812) (0) | 2020.11.07 |
[토요라운드] B. 기념일 1 (10420) [미완] (0) | 2020.11.07 |