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_34001270_24335.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_34001270_24335.cpp:7:1: error: 'vector' does not name a type
 vector<int> prime;
 ^
0_0_34001270_24335.cpp: In function 'void init()':
0_0_34001270_24335.cpp:10:45: error: 'memset' was not declared in this scope
     memset(notprime, false, sizeof(notprime));
                                             ^
0_0_34001270_24335.cpp:14:13: error: 'prime' was not declared in this scope
             prime.push_back(i);
             ^
0_0_34001270_24335.cpp: In function 'int frac(int)':
0_0_34001270_24335.cpp:25:22: error: 'prime' was not declared in this scope
     for (auto item : prime) {
                      ^
0_0_34001270_24335.cpp: In function 'void solve()':
0_0_34001270_24335.cpp:40:5: error: 'cin' was not declared in this scope
     cin >> _;
     ^
0_0_34001270_24335.cpp:50:9: error: 'cout' was not declared in this scope
         cout << (res ? "W" : "L") << endl;
         ^
0_0_34001270_24335.cpp:50:38: error: 'endl' was not declared in this scope
         cout << (res ? "W" : "L") << endl;
                                      ^
0_0_34001270_24335.cpp: In function 'int main()':
0_0_34001270_24335.cpp:55:5: error: 'ios_base' has not been declared
     ios_base::sync_with_stdio(false);
     ^
0_0_34001270_24335.cpp:56:5: error: 'cin' was not declared in this scope
     cin.tie(nullptr);
     ^
0_0_34001270_24335.cpp:57:5: error: 'cout' was not declared in this scope
     cout.tie(nullptr);
     ^


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-07-04 03:59:20, Gzip enabled