Submission #20518205


Source Code Expand

#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define INF 2147483647
#define ft first
#define sec second
#define pr pair<int,int>
#define ISCC ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
using namespace std;
double n ,m ;
string s ,t;
int main() 
{

	cin >> n >> m;
	cout << 100.0 - 100*(m/n);
	
}

Submission Info

Submission Time
Task A - Discount
User ck1080012
Language C++ (GCC 9.2.1)
Score 100
Code Size 339 Byte
Status AC
Exec Time 6 ms
Memory 3804 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 13
Set Name Test Cases
Sample 01_sample.txt, 02_sample.txt, 03_sample.txt
All 01_sample.txt, 02_sample.txt, 03_sample.txt, 04_hand.txt, 05_hand.txt, 06_hand.txt, 07_random.txt, 08_random.txt, 09_random.txt, 10_random.txt, 11_random.txt, 12_random.txt, 13_random.txt
Case Name Status Exec Time Memory
01_sample.txt AC 6 ms 3708 KiB
02_sample.txt AC 2 ms 3776 KiB
03_sample.txt AC 2 ms 3712 KiB
04_hand.txt AC 4 ms 3800 KiB
05_hand.txt AC 2 ms 3784 KiB
06_hand.txt AC 1 ms 3752 KiB
07_random.txt AC 4 ms 3648 KiB
08_random.txt AC 3 ms 3804 KiB
09_random.txt AC 2 ms 3760 KiB
10_random.txt AC 2 ms 3708 KiB
11_random.txt AC 5 ms 3784 KiB
12_random.txt AC 4 ms 3696 KiB
13_random.txt AC 2 ms 3784 KiB