Submission #3410483
Source Code Expand
#include <iostream>
#include <cstdio>
#include <cstring>
#define ll long long
using namespace std;
ll a[46]={
0,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765,10946,17711,28657,46368,75025,121393,196418,317811,514229,832040,1346269,2178309,3524578,5702887,9227465,14930352,24157817,39088169,63245986,102334155,165580141,267914296,433494437,701408733,1134903170,1836311903
};
int main(){
int x;
cin>>x;
cout<<a[x];
return 0;
}
Submission Info
Submission Time |
|
Task |
A - 算盤の書 |
User |
luogu_bot3 |
Language |
C++ (GCC 5.4.1) |
Score |
0 |
Code Size |
448 Byte |
Status |
WA |
Exec Time |
1 ms |
Memory |
256 KB |
Judge Result
Set Name |
All |
Score / Max Score |
0 / 100 |
Status |
|
Set Name |
Test Cases |
All |
00_sample1, 00_sample2, 00_sample3, 10_testcase00, 10_testcase01, 10_testcase02, 10_testcase03, 10_testcase04, 10_testcase05, 10_testcase06, 10_testcase07, 10_testcase08, 10_testcase09, 10_testcase10, 10_testcase11, 10_testcase12, 10_testcase13, 10_testcase14, 10_testcase15, 10_testcase16, 10_testcase17, 10_testcase18, 10_testcase19, 10_testcase20, 10_testcase21, 10_testcase22, 10_testcase23, 10_testcase24, 10_testcase25, 10_testcase26, 10_testcase27, 10_testcase28, 10_testcase29, 10_testcase30, 10_testcase31, 10_testcase32, 10_testcase33, 10_testcase34, 10_testcase35, 10_testcase36, 10_testcase37, 10_testcase38, 10_testcase39, 10_testcase40, 10_testcase41, 10_testcase42 |
Case Name |
Status |
Exec Time |
Memory |
00_sample1 |
WA |
1 ms |
256 KB |
00_sample2 |
WA |
1 ms |
256 KB |
00_sample3 |
WA |
1 ms |
256 KB |
10_testcase00 |
WA |
1 ms |
256 KB |
10_testcase01 |
WA |
1 ms |
256 KB |
10_testcase02 |
WA |
1 ms |
256 KB |
10_testcase03 |
WA |
1 ms |
256 KB |
10_testcase04 |
WA |
1 ms |
256 KB |
10_testcase05 |
WA |
1 ms |
256 KB |
10_testcase06 |
WA |
1 ms |
256 KB |
10_testcase07 |
WA |
1 ms |
256 KB |
10_testcase08 |
WA |
1 ms |
256 KB |
10_testcase09 |
WA |
1 ms |
256 KB |
10_testcase10 |
WA |
1 ms |
256 KB |
10_testcase11 |
WA |
1 ms |
256 KB |
10_testcase12 |
WA |
1 ms |
256 KB |
10_testcase13 |
WA |
1 ms |
256 KB |
10_testcase14 |
WA |
1 ms |
256 KB |
10_testcase15 |
WA |
1 ms |
256 KB |
10_testcase16 |
WA |
1 ms |
256 KB |
10_testcase17 |
WA |
1 ms |
256 KB |
10_testcase18 |
WA |
1 ms |
256 KB |
10_testcase19 |
WA |
1 ms |
256 KB |
10_testcase20 |
WA |
1 ms |
256 KB |
10_testcase21 |
WA |
1 ms |
256 KB |
10_testcase22 |
WA |
1 ms |
256 KB |
10_testcase23 |
WA |
1 ms |
256 KB |
10_testcase24 |
WA |
1 ms |
256 KB |
10_testcase25 |
WA |
1 ms |
256 KB |
10_testcase26 |
WA |
1 ms |
256 KB |
10_testcase27 |
WA |
1 ms |
256 KB |
10_testcase28 |
WA |
1 ms |
256 KB |
10_testcase29 |
WA |
1 ms |
256 KB |
10_testcase30 |
WA |
1 ms |
256 KB |
10_testcase31 |
WA |
1 ms |
256 KB |
10_testcase32 |
WA |
1 ms |
256 KB |
10_testcase33 |
WA |
1 ms |
256 KB |
10_testcase34 |
WA |
1 ms |
256 KB |
10_testcase35 |
WA |
1 ms |
256 KB |
10_testcase36 |
WA |
1 ms |
256 KB |
10_testcase37 |
WA |
1 ms |
256 KB |
10_testcase38 |
WA |
1 ms |
256 KB |
10_testcase39 |
WA |
1 ms |
256 KB |
10_testcase40 |
WA |
1 ms |
256 KB |
10_testcase41 |
WA |
1 ms |
256 KB |
10_testcase42 |
WA |
1 ms |
256 KB |