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_39290022_21235.cpp:1:4: error: stray '#' in program
    1 |  1 #include <iostream>
      |    ^
0_0_39290022_21235.cpp:2:4: error: stray '#' in program
    2 |  2 #include <cstring>
      |    ^
0_0_39290022_21235.cpp:3:4: error: stray '#' in program
    3 |  3 #include <cstdlib>
      |    ^
0_0_39290022_21235.cpp:1:2: error: expected unqualified-id before numeric constant
    1 |  1 #include <iostream>
      |  ^
0_0_39290022_21235.cpp:5:2: error: expected unqualified-id before numeric constant
    5 |  5 int d[2010][1005];
      |  ^
0_0_39290022_21235.cpp:6:2: error: expected unqualified-id before numeric constant
    6 |  6 int f[2002];
      |  ^
0_0_39290022_21235.cpp:7:2: error: expected unqualified-id before numeric constant
    7 |  7 int fun(int a)//求平方
      |  ^
0_0_39290022_21235.cpp:11:1: error: expected unqualified-id before numeric constant
   11 | 11 int min(int a,int b)
      | ^~
0_0_39290022_21235.cpp:15:1: error: expected unqualified-id before numeric constant
   15 | 15 int cmp(const void *a,const void *b)
      | ^~
0_0_39290022_21235.cpp:19:1: error: expected unqualified-id before numeric constant
   19 | 19 void dp(int n,int k)//n件物品曲k次
      | ^~
0_0_39290022_21235.cpp:39:1: error: expected unqualified-id before numeric constant
   39 | 39 int main()
      | ^~
0_0_39290022_21235.cpp:54:1: error: expected unqualified-id before numeric constant
   54 | 54
      | ^~


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 13:15:05, Gzip enabled