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_19891501_15368.cpp:1:4: error: stray '#' in program
  1 #include <iostream> 
    ^
0_0_19891501_15368.cpp:2:4: error: stray '#' in program
  2 #include <sstream>
    ^
0_0_19891501_15368.cpp:3:4: error: stray '#' in program
  3 #include <string>
    ^
0_0_19891501_15368.cpp:4:4: error: stray '#' in program
  4 #include <algorithm>
    ^
0_0_19891501_15368.cpp:5:4: error: stray '#' in program
  5 #include <set>
    ^
0_0_19891501_15368.cpp:6:4: error: stray '#' in program
  6 #include <stdio.h>
    ^
0_0_19891501_15368.cpp:7:4: error: stray '#' in program
  7 #include <stdlib.h>
    ^
0_0_19891501_15368.cpp:8:4: error: stray '#' in program
  8 #include <string.h>
    ^
0_0_19891501_15368.cpp:9:4: error: stray '#' in program
  9 #include <math.h>
    ^
0_0_19891501_15368.cpp:11:4: error: stray '#' in program
 11 #define each(i,n) (int i=1;i<=(n);++i)
    ^
0_0_19891501_15368.cpp:32:4: error: unterminated comment
 32 /*
    ^
0_0_19891501_15368.cpp:1:2: error: expected unqualified-id before numeric constant
  1 #include <iostream> 
  ^
0_0_19891501_15368.cpp:11:31: error: 'i' does not name a type
 11 #define each(i,n) (int i=1;i<=(n);++i)
                               ^
0_0_19891501_15368.cpp:11:38: error: expected unqualified-id before '++' token
 11 #define each(i,n) (int i=1;i<=(n);++i)
                                      ^
0_0_19891501_15368.cpp:14:1: error: expected unqualified-id before numeric constant
 14 
 ^


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 03:55:10, Gzip enabled