Skip to content

Instantly share code, notes, and snippets.

@fredbr

fredbr/coral.cpp Secret

Created May 22, 2018 22:16
Show Gist options
  • Save fredbr/f44ebb00b0bc92c30f1521179e930470 to your computer and use it in GitHub Desktop.
Save fredbr/f44ebb00b0bc92c30f1521179e930470 to your computer and use it in GitHub Desktop.
//solucao de Frederico BUlhoes
#include <bits/stdc++.h>
using namespace std;
int main()
{
int v[4];
cin >> v[0] >> v[1] >> v[2] >> v[3];
if (v[0] == v[2] or v[1] == v[3]) {
cout << "V" << "\n";
} else {
cout << "F" << "\n";
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment