General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
116491970 Practice:
mankit490
469A - 24 C++17 (GCC 7-32) Wrong answer on test 27 31 ms 8 KB 2021-05-17 17:33:55 2021-05-17 17:33:55
→ Source
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);


int main()
{
    fast
    int t;
    cin>>t;
    int arr[t+1];
    for(int i=0;i<=t;i++){
        arr[i]=0;
    }
    int x;
    while(cin>>x){
       arr[x]++;
    }
    // for(int i=1;i<t;i++){
    //     cout<<arr[i];
    // }
    bool res=true;
    for (int i = 1;i<=t; i++)
    {
        if(arr[i]==0){
            cout<<"Oh, my keyboard!"<<endl;
            res=false;
            break;
        }
    }
    if(res){
        cout<<"I become the guy."<<endl;
    }
    // while(t--)
    // {
       
    // } 
    return 0;
}
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details