Problem | nostatement |
---|---|
User | AlphanumericUsername |
Submission Time | 2023-01-26 21:04:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nostatement.cpp: In function ‘bool A(ll, ll)’:
nostatement.cpp:4:29: error: expected identifier before ‘!’ token
4 | bool A(ll n1, ll n2) return !(n1%n2);
| ^
nostatement.cpp:4:22: error: named return values are no longer supported
4 | bool A(ll n1, ll n2) return !(n1%n2);
| ^~~~~~
nostatement.cpp:7:16: error: ‘why’ was not declared in this scope
7 | for(int i=0;i<why;++i){
| ^~~
nostatement.cpp:9:9: error: ‘axe’ was not declared in this scope
9 | if (A(axe, kay) && A(why, kay) && s.find(kay) == s.end()) s.insert(kay);
| ^~~
nostatement.cpp: In function ‘bool C(ll)’:
nostatement.cpp:15:42: error: ‘B’ was not declared in this scope
15 | for (ll i = 2; i < s; ++i) monster &= (B(i, s) == 1);
| ^