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_35907681_5365.cpp:5:1: error: 'uint' does not name a type
 uint t, n, m;
 ^
0_0_35907681_5365.cpp: In function 'void Read()':
0_0_35907681_5365.cpp:15:12: error: 't' was not declared in this scope
     cin >> t;
            ^
0_0_35907681_5365.cpp: At global scope:
0_0_35907681_5365.cpp:20:8: error: 'uint' was not declared in this scope
 vector<uint> prime;
        ^
0_0_35907681_5365.cpp:20:12: error: template argument 1 is invalid
 vector<uint> prime;
            ^
0_0_35907681_5365.cpp:20:12: error: template argument 2 is invalid
0_0_35907681_5365.cpp:20:19: error: invalid type in declaration before ';' token
 vector<uint> prime;
                   ^
0_0_35907681_5365.cpp: In function 'void GetPrime(size_t)':
0_0_35907681_5365.cpp:36:19: error: request for member 'push_back' in 'prime', which is of non-class type 'int'
             prime.push_back(i);
                   ^
0_0_35907681_5365.cpp:38:23: error: 'begin' was not declared in this scope
         for (auto j : prime)
                       ^
0_0_35907681_5365.cpp:38:23: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
                 from 0_0_35907681_5365.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1206:5: note:   'std::begin'
     begin(const valarray<_Tp>& __va)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1206:5: note:   'std::begin'
0_0_35907681_5365.cpp:38:23: error: 'end' was not declared in this scope
         for (auto j : prime)
                       ^
0_0_35907681_5365.cpp:38:23: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
                 from 0_0_35907681_5365.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note:   'std::end'
     end(const valarray<_Tp>& __va)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note:   'std::end'
0_0_35907681_5365.cpp: At global scope:
0_0_35907681_5365.cpp:53:1: error: 'uint' does not name a type
 uint ans;
 ^
0_0_35907681_5365.cpp:54:24: error: 'uint' was not declared in this scope
 using Data = pair<Num, uint>;
                        ^
0_0_35907681_5365.cpp:54:28: error: template argument 2 is invalid
 using Data = pair<Num, uint>;
                            ^
0_0_35907681_5365.cpp:55:7: error: 'Data' was not declared in this scope
 queue<Data> q;
       ^
0_0_35907681_5365.cpp:55:11: error: template argument 1 is invalid
 queue<Data> q;
           ^
0_0_35907681_5365.cpp:55:11: error: template argument 2 is invalid
0_0_35907681_5365.cpp:55:14: error: invalid type in declaration before ';' token
 queue<Data> q;
              ^
0_0_35907681_5365.cpp:58:13: error: variable or field 'Update' declared void
 void Update(Data p)
             ^
0_0_35907681_5365.cpp:58:13: error: 'Data' was not declared in this scope


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 17:12:51, Gzip enabled