Problem nprime2
User Shuhxin
Submission Time 2024-04-06 08:51:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime2.cpp: In function ‘int main()’:
nprime2.cpp:59:4: error: ‘class std::vector<int>’ has no member named ‘pb’
59 | v.pb(n%127);
| ^~
nprime2.cpp:60:4: error: ‘class std::vector<int>’ has no member named ‘pb’
60 | v.pb(n%113);
| ^~
nprime2.cpp:61:4: error: ‘class std::vector<int>’ has no member named ‘pb’
61 | v.pb(n%109);
| ^~
nprime2.cpp:62:4: error: ‘class std::vector<int>’ has no member named ‘pb’
62 | v.pb(n%107);
| ^~
nprime2.cpp:63:4: error: ‘class std::vector<int>’ has no member named ‘pb’
63 | v.pb(n%103);
| ^~