0_0_13795870_11577.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13795870_11577.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13795870_11577.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13795870_11577.cpp: In function 'int main()':
0_0_13795870_11577.cpp:13:9: error: expected ';' before 'a'
a[i] = (a[i-1]+a[i-2]+a[i-4])%mod;
^
0_0_13795870_11577.cpp:13:42: error: expected ')' before ';' token
a[i] = (a[i-1]+a[i-2]+a[i-4])%mod;
^
0_0_13795870_11577.cpp:14:25: error: 'scanf' was not declared in this scope
while(~scanf("%d",&i),i!=-1)
^
0_0_13795870_11577.cpp:15:27: error: 'printf' was not declared in this scope
printf("%d\n",a[i]);
^
|