Submission #966932


Source Code Expand

#include <bits/stdc++.h>
#define rep(i,a,n) for(int i=a;i<n;i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;


template <typename T>
std::ostream &operator<<(std::ostream &out, const std::vector<T> &v){
    if(!v.empty()) {
        out << '[';
        std::copy(v.begin(), v.end(), std::ostream_iterator<T>(out, ", "));
        out << "\b\b]";
    }
    return out;
}

template <typename T1, typename T2>
std::ostream &operator<<(std::ostream &out, const std::pair<T1, T2> &p) {
    out << "[" << p.first << ", " << p.second << "]";
    return out;
}
//---------

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    double a, b, c;
    cin >> a >> b >> c;
    double k = c / a;
    cout << c + a * k << endl;
    



    


}

Submission Info

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

Judge Result

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