0_0_25065995_20773.cpp:4:1: error: stray '\243' in program
string add(string s1, string s2)
^
0_0_25065995_20773.cpp:4:1: error: stray '\251' in program
0_0_25065995_20773.cpp:4:1: error: 'string' does not name a type
0_0_25065995_20773.cpp: In function 'int main()':
0_0_25065995_20773.cpp:37:5: error: 'B' was not declared in this scope
B[1] = "0"; B[2]= "1"; B[3]= "1"; B[4] = "3"; B[5] = "5"; B[6] = "11";
^
0_0_25065995_20773.cpp:39:84: error: 'add' was not declared in this scope
for(int n = 7; n <= 1004; n++) B[n] = add(B[n-1],add(B[n-2],B[n-2]));
^
0_0_25065995_20773.cpp:39:85: error: 'add' was not declared in this scope
for(int n = 7; n <= 1004; n++) B[n] = add(B[n-1],add(B[n-2],B[n-2]));
^
0_0_25065995_20773.cpp:39:85: error: redeclaration of '<typeprefixerror>add'
0_0_25065995_20773.cpp:39:84: note: previous declaration '<typeprefixerror>add'
for(int n = 7; n <= 1004; n++) B[n] = add(B[n-1],add(B[n-2],B[n-2]));
^
0_0_25065995_20773.cpp:41:12: error: 'cin' was not declared in this scope
while(cin >> N)
^
0_0_25065995_20773.cpp:42:9: error: 'cout' was not declared in this scope
cout << B[N] << endl;
^
0_0_25065995_20773.cpp:42:25: error: 'endl' was not declared in this scope
cout << B[N] << endl;
^
|