Skip to content

Instantly share code, notes, and snippets.

@LucaDantas
Last active August 20, 2021 00:06
Show Gist options
  • Save LucaDantas/082a6e73ff0709c7021fe03d9584b41d to your computer and use it in GitHub Desktop.
Save LucaDantas/082a6e73ff0709c7021fe03d9584b41d to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main() {
int P, A, L;
cin >> P >> A >> L;
if(P > 500) {
cout << "pandemilson\n";
} else if(A > 500) {
cout << "alcoolgelson\n";
} else if(L > 500) {
cout << "lockdalson\n";
} else {
cout << "segundo turno\n"; // vote alcoolgelson e lockdalson pra acabar com a pandemilson!!
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment