Submission #6852288
Source Code Expand
#include "bits/stdc++.h"
// Custom Header {{{
#define all(x) x.begin(), x.end()
#define rep(i,n) for (i64 i = 0; i < (n); ++i)
#define reps(i,s,t) for (i64 i = (s); i <= (t); ++i)
#define repr(i,s,t) for (i64 i = (s); i >= (t); --i)
#define LF '\n'
#ifdef DBG
#define trace(...) _trace(#__VA_ARGS__, __VA_ARGS__);
#else
#define trace(...)
#endif
using namespace std;
using i64 = int_fast64_t;
using pii = pair<i64, i64>;
template<class T, class U>inline bool chmax(T &a, const U &b){return b>a ? (a=b,1) : 0;}
template<class T, class U>inline bool chmin(T &a, const U &b){return b<a ? (a=b,1) : 0;}
constexpr int INF = 0x3f3f3f3f;
constexpr i64 LINF = 0x3f3f3f3f3f3f3f3fLL;
template<class T>
ostream& operator<< (ostream &os, const vector<T> &vec) {
rep(i, vec.size()) os << vec[i] << (i+1 == vec.size() ? "" : " ");
return os;
}
template<class T, class U>
ostream& operator<< (ostream &os, const pair<T, U> &p) {
return os << p.first << ' ' << p.second;
}
template <class T>
void _trace(const char *s, T&& x)
{
clog << '{';
while(*s != '\0' && *s != ',') clog << *(s++);
clog << ":" << setw(3) << x << '}' << endl;
}
template <class Head, class... Tail>
void _trace(const char *s, Head&& head, Tail&&... tail)
{
clog << '{';
while(*s != ',') clog << *(s++);
clog << ":" << setw(3) << head << "}, ";
for (++s; !isgraph(*s); ++s);
_trace(s, std::forward<Tail>(tail)...);
}
// }}}
signed main()
{
// ios::sync_with_stdio(false); cin.tie(nullptr);
int a, b, c;
cin >> a >> b >> c;
cout << fixed << setprecision(12);
cout << double(c) / a * b << endl;
return 0;
}
Submission Info
Submission Time |
|
Task |
A - SDカード |
User |
Arumakan1727 |
Language |
C++14 (GCC 5.4.1) |
Score |
100 |
Code Size |
1720 Byte |
Status |
AC |
Exec Time |
1 ms |
Memory |
256 KB |
Judge Result
Set Name |
Sample |
All |
Score / Max Score |
0 / 0 |
100 / 100 |
Status |
|
|
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 |
1 ms |
256 KB |
00_example_02.txt |
AC |
1 ms |
256 KB |
10_rand_01.txt |
AC |
1 ms |
256 KB |
10_rand_02.txt |
AC |
1 ms |
256 KB |
10_rand_03.txt |
AC |
1 ms |
256 KB |
10_rand_04.txt |
AC |
1 ms |
256 KB |
10_rand_05.txt |
AC |
1 ms |
256 KB |
10_rand_06.txt |
AC |
1 ms |
256 KB |
20_hand_01.txt |
AC |
1 ms |
256 KB |
20_hand_02.txt |
AC |
1 ms |
256 KB |