Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- const char* ahahaha()
- {
- return "ahahaha";
- }
- const char* cry()
- {
- return "T_T";
- }
- const char* sudden_shock()
- {
- return "ahh o_o";
- }
- const char* nani()
- {
- return "n-nani!?";
- }
- const char* gasgasgas()
- {
- return "Gas gas gas!\nI'm gonna step on the gas\nTonight I'll fly and be your lover";
- }
- void start_exam(bool &exam_started)
- {
- exam_started = true;
- std::cout << "The exam has starteeeeed " << ahahaha();
- }
- bool contemplate_life()
- {
- std::cout << "*epic sad music (no Astghik, not a funeral music)*\n"
- << "I failed.... "
- << "My dreams.. my desires.. I failed everything " << cry() << '\n'
- << sudden_shock() << '\n'
- << nani() << '\n'
- << "*realizing something*\n"
- << "*epic music intensifies*\n";
- return true;
- }
- bool solve(int question_num)
- {
- static bool desperate = true;
- if (desperate && question_num < 10)
- solve(question_num+1);
- else if (desperate)
- {
- if (question_num == 10)
- desperate = !contemplate_life();
- std::cout << "omae wa mou shindeiru" << '\n';
- std::cout << "Araqelyan: " << nani() << '\n';
- std::cout << gasgasgas() << '\n';
- solve(1);
- }
- else
- {
- std::cout << "Solved " << question_num << '\n';
- if (question_num < 10)
- solve(question_num+1);
- }
- return desperate;
- }
- int main()
- {
- bool nervous = true;
- bool suicidal_thoughts = false;
- bool exam_started = false;
- start_exam(exam_started);
- int question_num = 1;
- while (exam_started)
- {
- suicidal_thoughts = solve(question_num);
- if (!suicidal_thoughts)
- break;
- }
- std::cout << "*Victory music*";
- nervous = false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement