Problem | motest3 |
---|---|
User | dacashew |
Submission Time | 2024-04-01 09:54:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
motest3.cpp:112:18: error: ‘a’ was not declared in this scope
112 | bool isprimitive(a,b){
| ^
motest3.cpp:112:20: error: ‘b’ was not declared in this scope; did you mean ‘pb’?
112 | bool isprimitive(a,b){
| ^
| pb
motest3.cpp:112:21: error: expression list treated as compound expression in initializer [-fpermissive]
112 | bool isprimitive(a,b){
| ^
motest3.cpp: In function ‘void st2()’:
motest3.cpp:126:18: error: ‘a’ was not declared in this scope
126 | if((isprimitive(a,b) and isprimitive(b,a)) or a==b | min(a,b)==1){
| ^
motest3.cpp:126:20: error: ‘b’ was not declared in this scope; did you mean ‘pb’?
126 | if((isprimitive(a,b) and isprimitive(b,a)) or a==b | min(a,b)==1){
| ^
| pb
motest3.cpp:126:21: error: ‘isprimitive’ cannot be used as a functio