Submission #63767315


Source Code Expand

Copy
#include<bits/stdc++.h>
#define ll long long
#define ss second
#define ff first
#define endl "\n"
using namespace std;
ll n,m,a[300005],b,c,d,mid;
map<ll,ll> ma[1000],mp;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
double k;
cin>>k;
if (k>=38) cout<<1<<endl;
else if (k>=37.5) cout<<2<<endl;
else cout<<3<<endl;
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#include<bits/stdc++.h>
#define ll long long
#define ss second
#define ff first
#define endl "\n"
using namespace std;
ll n,m,a[300005],b,c,d,mid;
map<ll,ll> ma[1000],mp;
int main(){
	ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0); 
    double k;
    cin>>k;
    if (k>=38) cout<<1<<endl;
    else if (k>=37.5) cout<<2<<endl;
    else cout<<3<<endl;
}

Submission Info

Submission Time
Task A - Thermometer
User Tegshzaya
Language C++ 20 (gcc 12.2)
Score 100
Code Size 384 Byte
Status AC
Exec Time 1 ms
Memory 3860 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 30
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_test_00.txt, 01_test_01.txt, 01_test_02.txt, 01_test_03.txt, 01_test_04.txt, 01_test_05.txt, 01_test_06.txt, 01_test_07.txt, 01_test_08.txt, 01_test_09.txt, 01_test_10.txt, 01_test_11.txt, 01_test_12.txt, 01_test_13.txt, 01_test_14.txt, 01_test_15.txt, 01_test_16.txt, 01_test_17.txt, 01_test_18.txt, 01_test_19.txt, 01_test_20.txt, 01_test_21.txt, 01_test_22.txt, 01_test_23.txt, 01_test_24.txt, 01_test_25.txt, 01_test_26.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 1 ms 3620 KB
00_sample_01.txt AC 1 ms 3684 KB
00_sample_02.txt AC 1 ms 3676 KB
01_test_00.txt AC 1 ms 3856 KB
01_test_01.txt AC 1 ms 3564 KB
01_test_02.txt AC 1 ms 3648 KB
01_test_03.txt AC 1 ms 3620 KB
01_test_04.txt AC 1 ms 3624 KB
01_test_05.txt AC 1 ms 3560 KB
01_test_06.txt AC 1 ms 3648 KB
01_test_07.txt AC 1 ms 3684 KB
01_test_08.txt AC 1 ms 3656 KB
01_test_09.txt AC 1 ms 3740 KB
01_test_10.txt AC 1 ms 3752 KB
01_test_11.txt AC 1 ms 3740 KB
01_test_12.txt AC 1 ms 3768 KB
01_test_13.txt AC 1 ms 3732 KB
01_test_14.txt AC 1 ms 3860 KB
01_test_15.txt AC 1 ms 3744 KB
01_test_16.txt AC 1 ms 3752 KB
01_test_17.txt AC 1 ms 3628 KB
01_test_18.txt AC 1 ms 3856 KB
01_test_19.txt AC 1 ms 3688 KB
01_test_20.txt AC 1 ms 3700 KB
01_test_21.txt AC 1 ms 3568 KB
01_test_22.txt AC 1 ms 3632 KB
01_test_23.txt AC 1 ms 3756 KB
01_test_24.txt AC 1 ms 3684 KB
01_test_25.txt AC 1 ms 3628 KB
01_test_26.txt AC 1 ms 3624 KB


2025-03-24 (Mon)
07:36:02 +00:00