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_20811226_27870.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include \"stdio.h\"
          ^
0_0_20811226_27870.cpp:15:2: error: stray '\' in program
  scanf_s(\"%d\",&n);
  ^
0_0_20811226_27870.cpp:15:2: error: missing terminating " character
0_0_20811226_27870.cpp:19:3: error: stray '\' in program
   scanf_s(\"%d%d\", &a, &b);
   ^
0_0_20811226_27870.cpp:19:3: error: missing terminating " character
0_0_20811226_27870.cpp: In function 'int main()':
0_0_20811226_27870.cpp:16:2: error: expected primary-expression before 'int'
  int a = 0, b = 0;
  ^
0_0_20811226_27870.cpp:16:13: error: 'b' was not declared in this scope
  int a = 0, b = 0;
             ^
0_0_20811226_27870.cpp:20:3: error: expected primary-expression before 'int'
   int temp = a;
   ^
0_0_20811226_27870.cpp:21:9: error: 'a' was not declared in this scope
   if (b>a){a = b; b = temp;}
         ^
0_0_20811226_27870.cpp:21:23: error: 'temp' was not declared in this scope
   if (b>a){a = b; b = temp;}
                       ^
0_0_20811226_27870.cpp:22:23: error: 'a' was not declared in this scope
   for (int i = 2; i < a / b; i++)
                       ^


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-29 07:29:09, Gzip enabled