Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- #include <string>
- using namespace std;
- const string F = "First";
- const string S = "Second";
- string solveG1a(int n, int m) {
- if (n == m) {
- return S;
- }
- return F;
- }
- string solveG1b(int n) {
- if (n % 3 == 0) {
- return S;
- }
- return F;
- }
- string solveG1c(int n) {
- if (n % 3 == 0) {
- return S;
- }
- return F;
- }
- string solveG1d(int n) {
- if (n % 2 == 0) {
- return S;
- }
- return F;
- }
- string solveG1e(int n) {
- if (n % 8 < 2) {
- return S;
- }
- return F;
- }
- string solveG1f(int n, int m) {
- if (n == m) {
- return S;
- }
- return F;
- }
- string solveG1g(int n) {
- if (n % 3 == 0) {
- return S;
- }
- return F;
- }
- //
- string solveG1h (int n) {
- if (n % 3 == 0) {
- return S;
- }
- return F;
- }
- int main() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement