0_0_37593028_15012.cpp: In function 'bool if_num(int)':
0_0_37593028_15012.cpp:2:23: error: 'pow' was not declared in this scope
return(pow(i / 100, 3) + pow(i % 10, 3) + pow((i % 100 - i % 10) / 10, 3) == i);
^
0_0_37593028_15012.cpp: In function 'int main()':
0_0_37593028_15012.cpp:7:2: error: 'vector' was not declared in this scope
vector<int> data;
^
0_0_37593028_15012.cpp:7:9: error: expected primary-expression before 'int'
vector<int> data;
^
0_0_37593028_15012.cpp:8:9: error: 'cin' was not declared in this scope
while (cin >> prior >> last) {
^
0_0_37593028_15012.cpp:12:5: error: 'data' was not declared in this scope
data.push_back(i);
^
0_0_37593028_15012.cpp:17:4: error: 'cout' was not declared in this scope
cout << "no" << endl;
^
0_0_37593028_15012.cpp:17:20: error: 'endl' was not declared in this scope
cout << "no" << endl;
^
0_0_37593028_15012.cpp:20:24: error: 'data' was not declared in this scope
for (int j = 0; j < data.size(); j++)
^
0_0_37593028_15012.cpp:21:5: error: 'cout' was not declared in this scope
cout << data[j] << ' ';
^
0_0_37593028_15012.cpp:22:4: error: 'cout' was not declared in this scope
cout << endl;
^
0_0_37593028_15012.cpp:22:12: error: 'endl' was not declared in this scope
cout << endl;
^
|