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_38602140_15748.cpp: In function 'int main()':
0_0_38602140_15748.cpp:13:13: error: 'c2' was not declared in this scope
             c2[i] = 0;
             ^~
0_0_38602140_15748.cpp:13:13: note: suggested alternative: 'x2'
             c2[i] = 0;
             ^~
             x2
0_0_38602140_15748.cpp:19:21: error: 'c2' was not declared in this scope
                     c2[j + k] = c2[j + k] + c1[j];
                     ^~
0_0_38602140_15748.cpp:19:21: note: suggested alternative: 'x2'
                     c2[j + k] = c2[j + k] + c1[j];
                     ^~
                     x2
0_0_38602140_15748.cpp:22:25: error: 'c2' was not declared in this scope
                 c1[j] = c2[j];
                         ^~
0_0_38602140_15748.cpp:22:25: note: suggested alternative: 'x2'
                 c1[j] = c2[j];
                         ^~
                         x2


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-15 11:55:03, Gzip enabled