Problem | placingrouters |
---|---|
User | PlayVoltz |
Submission Time | 2023-12-08 02:49:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
placingrouters.cpp: In function ‘int32_t main()’:
placingrouters.cpp:18:27: error: return-statement with no value, in function returning ‘int32_t’ {aka ‘int’} [-fpermissive]
18 | if (a>=k){cout<<"YES\n";return;}
| ^~~~~~
placingrouters.cpp:19:38: error: return-statement with no value, in function returning ‘int32_t’ {aka ‘int’} [-fpermissive]
19 | else if (n==1||a+b<k){cout<<"NO\n";return;}
| ^~~~~~