0_0_36617313_20990.cpp:3:9: error: 'pair' does not name a type
typedef pair<int, int> P;
^
0_0_36617313_20990.cpp:5:26: error: 'sqrt' was not declared in this scope
const int maxn = sqrt(1e7) + 1;
^
0_0_36617313_20990.cpp:7:1: error: 'vector' does not name a type
vector<int> primes;
^
0_0_36617313_20990.cpp:8:1: error: 'bitset' does not name a type
bitset<10005> not_prime;
^
0_0_36617313_20990.cpp: In function 'void oula(int)':
0_0_36617313_20990.cpp:12:14: error: 'not_prime' was not declared in this scope
if (!not_prime[i]){
^
0_0_36617313_20990.cpp:13:13: error: 'primes' was not declared in this scope
primes.push_back(i);
^
0_0_36617313_20990.cpp:15:29: error: 'primes' was not declared in this scope
for (int j = 0; j < primes.size() && i * primes[j] <= x; j++){
^
0_0_36617313_20990.cpp:16:13: error: 'not_prime' was not declared in this scope
not_prime[primes[j] * i] = 1;
^
0_0_36617313_20990.cpp: In function 'void solve()':
0_0_36617313_20990.cpp:24:12: error: 'cin' was not declared in this scope
int n; cin >> n;
^
0_0_36617313_20990.cpp:25:5: error: 'vector' was not declared in this scope
vector<int> s(n);
^
0_0_36617313_20990.cpp:25:12: error: expected primary-expression before 'int'
vector<int> s(n);
^
0_0_36617313_20990.cpp:27:9: error: 'i' was not declared in this scope
iep(i, n){
^
0_0_36617313_20990.cpp:27:13: error: 'iep' was not declared in this scope
iep(i, n){
^
0_0_36617313_20990.cpp:42:19: error: 'cout' was not declared in this scope
if (ans != 0) cout << "Alice" << endl;
^
0_0_36617313_20990.cpp:42:38: error: 'endl' was not declared in this scope
if (ans != 0) cout << "Alice" << endl;
^
0_0_36617313_20990.cpp:43:10: error: 'cout' was not declared in this scope
else cout << "Bob" << endl;
^
0_0_36617313_20990.cpp:43:27: error: 'endl' was not declared in this scope
else cout << "Bob" << endl;
^
0_0_36617313_20990.cpp: In function 'int main()':
0_0_36617313_20990.cpp:48:5: error: '_fast_' was not declared in this scope
_fast_;
^
0_0_36617313_20990.cpp:50:12: error: 'cin' was not declared in this scope
int t; cin >> t; while (t--)
^
|