Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
246 B
1
Indexable
Never
// ????? ?????????.
#include <iostream>
using namespace std;
int main()
{
	int c;
	cin >> c;
	unsigned long long a = 0;
	unsigned long long b = 1;
	while (c >= 1)
	{
		c -= 1;
		a = a + b;
		b = a - b;
	}
	cout << b;
	return 0;
}