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_30150752_20683.cpp: In function 'int main()':
0_0_30150752_20683.cpp:44:18: error: 'i' was not declared in this scope
             for (i = 0; i < n; i++) {
                  ^
0_0_30150752_20683.cpp:49:26: error: 'j' was not declared in this scope
                     for (j = 0; j < numb1; j++) {
                          ^
0_0_30150752_20683.cpp:52:29: error: 'k' was not declared in this scope
                             k = j;
                             ^
0_0_30150752_20683.cpp:59:46: error: 'k' was not declared in this scope
                     if (numb == 2 && dict[i][k] == word[k - 1] && dict[i][k - 1] == word[k]) {
                                              ^
0_0_30150752_20683.cpp:65:21: error: 'k' was not declared in this scope
                     k = 0;
                     ^
0_0_30150752_20683.cpp:66:26: error: 'j' was not declared in this scope
                     for (j = 0; j < numb1; j++) {
                          ^
0_0_30150752_20683.cpp:77:21: error: 'k' was not declared in this scope
                     k = 0;
                     ^
0_0_30150752_20683.cpp:78:26: error: 'j' was not declared in this scope
                     for (j = 0; j < numb2; j++) {
                          ^
0_0_30150752_20683.cpp:89:17: error: 'i' was not declared in this scope
             if (i == n) {
                 ^


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-23 07:21:51, Gzip enabled