# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
9222 | sior | Phibonacci (kriii2_P) | C++98 | 1000 ms | 1668 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <iostream>
#include <algorithm>
#include <utility>
using namespace std;
int main()
{
long long int n, k;
cin >> n >> k;
long long a = 1, b = 1;
long long ret = 2;
if (n == 0)
{
cout << 0 << " " << 1;
return 0;
}
else if (n == 1)
{
cout << 1 << " "<<0;
return 0;
}
else if (n == 2)
{
cout << 1 << " " << 1 << endl;
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |