Submission #19748

# Submission time Handle Problem Language Result Execution time Memory
19748 2016-02-25T05:15:26 Z jihoon 괄호 (kriii4_R) C++
0 / 100
2 ms 4988 KB
#include<cstdio>
int fibo[1000002];
int main(){
	int n,k;
  scanf("%d %d",&n,&k);
  fibo[0]=0;fibo[1]=1;
  for(int i=2;i<=n;i++){
    fibo[i]=fibo[i-1]+fibo[i-2];
    fibo[i]%=1000000007;
  }
  printf("%d",fibo[n]);
}
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 4988 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Halted 0 ms 0 KB -