| Problem | bridge_apio15 |
|---|---|
| User | yc |
| Submission Time | 2025-11-14 16:33:51 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bridge_apio15.cpp: In function ‘int main()’:
bridge_apio15.cpp:40:5: error: expected ‘}’ before ‘else’
40 | else {
| ^~~~
bridge_apio15.cpp:33:14: note: to match this ‘{’
33 | if (y>=x){
| ^
bridge_apio15.cpp:41:16: error: ‘i’ was not declared in this scope
41 | while (i>0 and b(n2[i-1])<b(n2[i])) i--;
| ^
bridge_apio15.cpp:43:17: error: ‘i’ was not declared in this scope
43 | cout<<ans+b(i);
| ^
bridge_apio15.cpp: At global scope:
bridge_apio15.cpp:45:5: error: expected unqualified-id before ‘else’
45 | else cout<<ans;
| ^~~~
bridge_apio15.cpp:46:5: error: expected unqualified-id before ‘return’
46 | return 0;
| ^~~~~~
bridge_apio15.cpp:47:1: error: expected declaration before ‘}’ token
47 | }
| ^