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_13805196_12872.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13805196_12872.cpp: In function 'int main()':
0_0_13805196_12872.cpp:17:18: error: 'scanf' was not declared in this scope
     scanf("%d",&k);
                  ^
0_0_13805196_12872.cpp:19:9: error: expected ';' before 'scanf'
         scanf("%d%d",&n,&m);
         ^
0_0_13805196_12872.cpp:19:28: error: expected ')' before ';' token
         scanf("%d%d",&n,&m);
                            ^
0_0_13805196_12872.cpp:20:53: error: 'printf' was not declared in this scope
         printf("%s\n", gcd(n, m) == 1 ? "NO" : "YES");
                                                     ^
0_0_13805196_12872.cpp: At global scope:
0_0_13805196_12872.cpp:22:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_13805196_12872.cpp:23: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-09-28 00:16:02, Gzip enabled