Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- #include <math.h>
- #include <string>
- #include <algorithm>
- #include <set>
- using namespace ::std;
- int main()
- {
- int n, turn=0;
- cin >> n;
- for (int i = 1; i <= n; i++)
- {
- int prom;
- cin >> prom;
- turn += prom/2;
- }
- if (turn % 2 == 0)
- cout << "Stannis";
- else
- cout << "Daenerys";
- _getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment