Submission #3435

#TimeUsernameProblemLanguageResultExecution timeMemory
3435BothEarRimAncient symbol (kriii1_A)C++98
1 / 1
0 ms1672 KiB
#include <iostream> #include <iomanip> #include <cstdio> #include <string> #include <cstring> #include <cstdlib> #include <cmath> #include <utility> #include <locale> #include <algorithm> #include <vector> #include <queue> #include <stack> #include <list> #include <set> #include <climits> #include <cfloat> #define PI acos(0.0) * 2.0 using namespace std; int ansFunc(int x) { return 111*x*x + 11*x + 1; } int main() // Problem A. Ancient symbol { int input; scanf("%d", &input); printf("%d\n", ansFunc(input)); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...