MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / main

Function main

CodeChef_problems/CHFINTRO/solution.cpp:8–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6using namespace std;
7
8int main() {
9 ios_base::sync_with_stdio(false); // Speeds up the execution time
10 cin.tie(NULL);
11
12 lli n, thresholdRating, rating;
13 cin >> n >> thresholdRating;
14
15 while(n--) {
16 cin >> rating;
17
18 if(rating >= thresholdRating) {
19 cout << "Good boi" << endl;
20 } else {
21 cout << "Bad boi" << endl;
22 }
23 }
24
25 return 0;
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected