Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
318095 c546user16 成绩等第 T1 C++ Accepted 5 MS 728 KB 1115 2026-04-19 16:28:17

Tests(10/10):


#include<bits/stdc++.h> #define endl '\n' #define ls i<<1 #define rs (i<<1|1) #define fi first #define se second #define pb push_back #define eb emplace_back #define bug cout<<"I AM HERE"<<endl using namespace std; using ll=long long; template<typename U,typename V>bool cmin(U &x,const V&y){return y<x?x=y,true:false;}; template<typename U,typename V>bool cmax(U &x,const V&y){return y>x?x=y,true:false;}; #define to(i,o,p) for(ll i=o;i<=p;++i) #define un(i,o,p) for(ll i=o;i>=p;--i) double round(double x){return ll(x+0.5);} using ull=unsigned long long; using LL=__int128; using ld=long double; using pii=pair<int,int>; using pll=pair<ll,ll>; const ll INF=0x3f3f3f3f3f3f3f3f; const int INT_INF=0x3f3f3f3f; const int int_inf=1E9+7; const double eps=1E-8; const ll inf=1E18+7; const int P=0; const int mod=1E9+7; const int M=2E5+10; const int N=2E5+10; ll x; int main(){ ios::sync_with_stdio(false); cin.tie(0);cout.tie(0); cin>>x; if(x>=90)cout<<"A\n"; else if(x>=80)cout<<"B\n"; else if(x>=70)cout<<"C\n"; else if(x>=60)cout<<"D\n"; else cout<<"F\n"; return 0; }


Judgement Protocol: