Submission #13791536


Source Code Expand

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

int main(){
    int64_t A;
    double b;
    cin >> A >> b;
    int64_t B = round(b*100);
    cout << A*B/100 << endl;
    return 0;
}

Submission Info

Submission Time
Task C - Multiplication 3
User betrue12
Language C++ (GCC 9.2.1)
Score 300
Code Size 193 Byte
Status AC
Exec Time 4 ms
Memory 3780 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
AC × 3
AC × 20
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All hand_01.txt, hand_02.txt, hand_03.txt, random_01.txt, random_02.txt, random_03.txt, random_11.txt, random_12.txt, random_13.txt, random_21.txt, random_22.txt, random_23.txt, random_31.txt, random_32.txt, random_33.txt, sample_01.txt, sample_02.txt, sample_03.txt, zero_01.txt, zero_02.txt
Case Name Status Exec Time Memory
hand_01.txt AC 4 ms 3628 KB
hand_02.txt AC 3 ms 3564 KB
hand_03.txt AC 2 ms 3704 KB
random_01.txt AC 2 ms 3624 KB
random_02.txt AC 2 ms 3704 KB
random_03.txt AC 2 ms 3780 KB
random_11.txt AC 2 ms 3548 KB
random_12.txt AC 2 ms 3644 KB
random_13.txt AC 2 ms 3780 KB
random_21.txt AC 2 ms 3576 KB
random_22.txt AC 2 ms 3600 KB
random_23.txt AC 2 ms 3716 KB
random_31.txt AC 2 ms 3600 KB
random_32.txt AC 1 ms 3576 KB
random_33.txt AC 2 ms 3620 KB
sample_01.txt AC 2 ms 3624 KB
sample_02.txt AC 2 ms 3576 KB
sample_03.txt AC 2 ms 3704 KB
zero_01.txt AC 2 ms 3620 KB
zero_02.txt AC 2 ms 3640 KB