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_16975652_10380.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16975652_10380.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16975652_10380.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16975652_10380.cpp: In function 'void init()':
0_0_16975652_10380.cpp:11:2: error: expected ';' before 'scanf'
  scanf("%d", &h1[i]);
  ^
0_0_16975652_10380.cpp:11:20: error: 'scanf' was not declared in this scope
  scanf("%d", &h1[i]);
                    ^
0_0_16975652_10380.cpp:11:21: error: expected ')' before ';' token
  scanf("%d", &h1[i]);
                     ^
0_0_16975652_10380.cpp:13:2: error: expected ';' before 'scanf'
  scanf("%d", &h2[i]);
  ^
0_0_16975652_10380.cpp:13:20: error: 'scanf' was not declared in this scope
  scanf("%d", &h2[i]);
                    ^
0_0_16975652_10380.cpp:13:21: error: expected ')' before ';' token
  scanf("%d", &h2[i]);
                     ^
0_0_16975652_10380.cpp:14:20: error: 'sort' was not declared in this scope
     sort(h1, h1 + n);
                    ^
0_0_16975652_10380.cpp: In function 'void solve()':
0_0_16975652_10380.cpp:22:2: error: expected ')' before 'if'
  if (h1[e1]  h2[e2]) {
  ^
0_0_16975652_10380.cpp:22:14: error: expected ')' before 'h2'
  if (h1[e1]  h2[e2]) {
              ^
0_0_16975652_10380.cpp:26:6: error: expected ')' before 'e2'
      e2--; s1++; ans--;
      ^
0_0_16975652_10380.cpp: At global scope:
0_0_16975652_10380.cpp:28:2: error: expected unqualified-id before 'else'
  else {
  ^


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-23 03:37:37, Gzip enabled