/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 1ms 340.0 KiB
#2 Accepted 2ms 320.0 KiB
#3 Accepted 2ms 320.0 KiB
#4 Accepted 1ms 328.0 KiB

Code

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


#define ll long long int
#define vecint vector<int>
#define vecchar vector<char>
#define max_ele(v) *max_element(v.begin(), v.end())
#define min_ele(v) *min_element(v.begin(), v.end())
#define sort(v) sort(v.begin(), v.end())
#define rev_sort(v) sort((v).begin(), (v).end(), greater<>())
#define Reverse(v) reverse(v.begin(), v.end())
#define pb push_back
#define ppb pop_back()
#define pf push_front
#define coutall(v) for(auto &it: v) cout<<it<<" "
#define coutnewline(v) for(auto &it: v) cout<<it<<'\n'
#define cinall(v) for(auto &it: v) cin>>it
#define yes cout<<"YES\n"
#define no cout<<"NO\n"

void solve()
{
    int x;
    cin >> x;
    if(2*x<=100) cout<<"YES"<<endl;
    else cout<<"NO"<<endl;
}

int main()
{
    // int tests;
    // cin >> tests;
    // while (tests-- > 0)
    // {
    // }
        solve();
    
    return 0;
}

Information

Submit By
Type
Submission
Problem
P1056 Grown up boy sunny
Contest
Brain Booster #3
Language
C++20 (G++ 13.2.0)
Submit At
2024-05-06 15:07:48
Judged At
2024-11-11 03:35:11
Judged By
Score
100
Total Time
2ms
Peak Memory
340.0 KiB