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_21005801_20104.cpp:1:2: error: expected unqualified-id before 'for'
  for (int i = 1; i <= n; ++ i)
  ^
0_0_21005801_20104.cpp:1:18: error: 'i' does not name a type
  for (int i = 1; i <= n; ++ i)
                  ^
0_0_21005801_20104.cpp:1:26: error: expected unqualified-id before '++' token
  for (int i = 1; i <= n; ++ i)
                          ^
0_0_21005801_20104.cpp:2:19: error: 'j' does not name a type
   for (int j = 1; j <= n; ++ j)
                   ^
0_0_21005801_20104.cpp:2:27: error: expected unqualified-id before '++' token
   for (int j = 1; j <= n; ++ j)
                           ^
0_0_21005801_20104.cpp:4:2: error: expected unqualified-id before 'for'
  for (int i = 1; i <= m; ++ i)
  ^
0_0_21005801_20104.cpp:4:18: error: 'i' does not name a type
  for (int i = 1; i <= m; ++ i)
                  ^
0_0_21005801_20104.cpp:4:26: error: expected unqualified-id before '++' token
  for (int i = 1; i <= m; ++ i)
                          ^
0_0_21005801_20104.cpp:5:19: error: 'j' does not name a type
   for (int j = 1; j <= m; ++ j)
                   ^
0_0_21005801_20104.cpp:5:27: error: expected unqualified-id before '++' token
   for (int j = 1; j <= m; ++ j)
                           ^


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-26 11:41:35, Gzip enabled