F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_36183738_21273.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include ¡°iostream¡±
          ^
0_0_36183738_21273.cpp:17:1: error: stray '\243' in program
 n = £¨i-2£©%n;
 ^
0_0_36183738_21273.cpp:17:1: error: stray '\250' in program
0_0_36183738_21273.cpp:17:1: error: stray '\243' in program
0_0_36183738_21273.cpp:17:1: error: stray '\251' in program
0_0_36183738_21273.cpp: In function 'int main()':
0_0_36183738_21273.cpp:7:8: error: 'cin' was not declared in this scope
 while (cin >> a >> b >> n&&a&&b&&n)
        ^
0_0_36183738_21273.cpp:14:9: error: 'af' was not declared in this scope
 f[i] = (af[i - 1] + bf[i - 2]) % 7;
         ^
0_0_36183738_21273.cpp:14:21: error: 'bf' was not declared in this scope
 f[i] = (af[i - 1] + bf[i - 2]) % 7;
                     ^
0_0_36183738_21273.cpp:19:1: error: 'cout' was not declared in this scope
 cout << f[(i - 2)] << endl;
 ^
0_0_36183738_21273.cpp:19:23: error: 'endl' was not declared in this scope
 cout << f[(i - 2)] << endl;
                       ^
0_0_36183738_21273.cpp:21:1: error: 'cout' was not declared in this scope
 cout << f[n] << endl;
 ^
0_0_36183738_21273.cpp:21:17: error: 'endl' was not declared in this scope
 cout << f[n] << endl;
                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-24 19:24:44, Gzip enabled