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_22732360_4212.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>  
         ^
0_0_22732360_4212.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <math.h>  
         ^
0_0_22732360_4212.cpp:4:8: error: macro names must be identifiers
 #define fun(n) n*n + n + 41  
        ^
0_0_22732360_4212.cpp:3:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22732360_4212.cpp:3:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22732360_4212.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22732360_4212.cpp:5:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22732360_4212.cpp:7:5: error: 'nbsp' declared as reference but not initialized
 int isnotprime(int n)  
     ^
0_0_22732360_4212.cpp:7:29: error: expected ')' before ';' token
 int isnotprime(int n)  
                             ^
0_0_22732360_4212.cpp:7:29: error: expected constructor, destructor, or type conversion before ';' token
0_0_22732360_4212.cpp:7:30: error: 'n' does not name a type
 int isnotprime(int n)  
                              ^
0_0_22732360_4212.cpp:7:43: error: expected constructor, destructor, or type conversion before ';' token
 int isnotprime(int n)  
                                           ^
0_0_22732360_4212.cpp:8:1: error: expected unqualified-id 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-29 05:28:46, Gzip enabled