-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCCOOK.cpp
46 lines (46 loc) · 859 Bytes
/
CCOOK.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
ios_base::sync_with_stdio(false);
cin >> t;
while (t--)
{
int o = 0, z = 0;
int A[5];
for (int i = 0; i < 5; i++)
{
cin >> A[i];
if (A[i] == 1)
{
o++;
}
}
if (o == 0)
{
cout << "Beginner\n";
}
else if (o == 1)
{
cout << "Junior Developer\n";
}
else if (o == 2)
{
cout << "Middle Developer\n";
}
else if (o == 3)
{
cout << "Senior Developer\n";
}
else if (o == 4)
{
cout << "Hacker\n";
}
else if (o == 5)
{
cout << "Jeff Dean\n";
}
}
return 0;
}