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_16822173_424.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822173_424.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822173_424.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822173_424.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822173_424.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822173_424.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822173_424.cpp:7:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822173_424.cpp:14:1: error: 'vector' does not name a type
 vector prime,digit,cnt;
 ^
0_0_16822173_424.cpp: In function 'void getPrime()':
0_0_16822173_424.cpp:17:5: error: 'prime' was not declared in this scope
     prime.clear();
     ^
0_0_16822173_424.cpp:18:36: error: 'memset' was not declared in this scope
     memset(isPrime,0,sizeof isPrime);
                                    ^
0_0_16822173_424.cpp:20:9: error: expected ';' before 'if'
         if(!isPrime[i]){
         ^
0_0_16822173_424.cpp:20:9: error: expected primary-expression before 'if'
0_0_16822173_424.cpp:20:9: error: expected ')' before 'if'
0_0_16822173_424.cpp:23:17: error: expected ';' before 'isPrime'
                 isPrime[j] = 1;
                 ^
0_0_16822173_424.cpp:23:31: error: expected ')' before ';' token
                 isPrime[j] = 1;
                               ^
0_0_16822173_424.cpp: At global scope:
0_0_16822173_424.cpp:26:1: error: expected declaration 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-12-02 15:01:46, Gzip enabled