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_13811055_14161.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13811055_14161.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13811055_14161.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13811055_14161.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13811055_14161.cpp: In function 'int main()':
0_0_13811055_14161.cpp:13:2: error: 'cin' was not declared in this scope
  cin  m  n;
  ^
0_0_13811055_14161.cpp:17:3: error: expected ';' before 'for'
   for(int j = 0;j 
   ^
0_0_13811055_14161.cpp:17:3: error: expected primary-expression before 'for'
0_0_13811055_14161.cpp:17:3: error: expected ')' before 'for'
0_0_13811055_14161.cpp:18:4: error: expected ';' before 'if'
    if(i == 0 && j == 0) continue;
    ^
0_0_13811055_14161.cpp:18:4: error: expected primary-expression before 'if'
0_0_13811055_14161.cpp:18:4: error: expected ')' before 'if'
0_0_13811055_14161.cpp:19:16: error: 'i' was not declared in this scope
    int x = Gcd(i,j);
                ^
0_0_13811055_14161.cpp:19:18: error: 'j' was not declared in this scope
    int x = Gcd(i,j);
                  ^
0_0_13811055_14161.cpp: At global scope:
0_0_13811055_14161.cpp:22:2: error: 'cout' does not name a type
  cout 
  ^
0_0_13811055_14161.cpp:24:1: error: expected declaration before '}' token
 }
 ^


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-25 15:52:08, Gzip enabled