# CHFINTRO - Editorial

Author: Full name
Tester: Full name
Editorialist: Oleksandr Kulkov

CAKEWALK

None

### PROBLEM:

You’re given N numbers R_i and the number r. For each number output `Good boi` if R_i \geq r and output `Bad boi` otherwise.

### EXPLANATION:

Just do it! Example code in C++:

``````int n, r;
cin >> n >> r;
for(int i = 0; i < n; i++) {
int R;
cin >> R;
cout << (R >= r ? "Good boi" : "Bad boi") << endl;
}
``````

### AUTHOR’S AND TESTER’S SOLUTIONS:

Author’s solution can be found here.

Tester’s solution can be found here.

1 Like
{"ft_lang_label":"__label__en","ft_lang_prob":0.5258593,"math_prob":0.72352004,"size":528,"snap":"2023-14-2023-23","text_gpt3_token_len":175,"char_repetition_ratio":0.091603056,"word_repetition_ratio":0.020833334,"special_character_ratio":0.30492425,"punctuation_ratio":0.21008404,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9627756,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-07T23:10:56Z\",\"WARC-Record-ID\":\"<urn:uuid:06c4acc0-ea8f-450c-b76f-d16629abf98c>\",\"Content-Length\":\"15605\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cb20de90-29bf-40f6-96f4-043311e51471>\",\"WARC-Concurrent-To\":\"<urn:uuid:c17a8bbc-ce9d-43f9-abd5-ba2f041efc80>\",\"WARC-IP-Address\":\"54.160.1.106\",\"WARC-Target-URI\":\"https://discuss.codechef.com/t/chfintro-editorial/21312\",\"WARC-Payload-Digest\":\"sha1:GKWIRL3TICSAOTPHOGUPTTQR44LOIME5\",\"WARC-Block-Digest\":\"sha1:TXX4DZRUGHYTO4Y6L6TTMTC6TTBGNEMU\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224654016.91_warc_CC-MAIN-20230607211505-20230608001505-00305.warc.gz\"}"}