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_33808856_16232.cpp: In function 'int main()':
0_0_33808856_16232.cpp:3:12: error: 'cin' was not declared in this scope
     while (cin >> n && n) {
            ^
0_0_33808856_16232.cpp:3:19: error: 'n' was not declared in this scope
     while (cin >> n && n) {
                   ^
0_0_33808856_16232.cpp:5:16: error: 'a' was not declared in this scope
         cin >> a;
                ^
0_0_33808856_16232.cpp:6:18: error: 'get_next' was not declared in this scope
         get_next();
                  ^
0_0_33808856_16232.cpp:7:37: error: 'printf' was not declared in this scope
         printf("Test case #%d\n", ff);
                                     ^
0_0_33808856_16232.cpp:9:27: error: 'next1' was not declared in this scope
             int ans = i - next1[i];
                           ^


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-12-02 10:55:40, Gzip enabled