Problem | stoning |
---|---|
User | PlayVoltz |
Submission Time | 2024-01-21 02:42:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stoning.cpp: In function ‘int32_t main()’:
stoning.cpp:28:26: error: expected ‘;’ before ‘)’ token
28 | for (int j=0; j<(n+1)/2); ++j)if (i&(1<<j))sum+=vect[j+n/2];
| ^
| ;
stoning.cpp:28:31: error: ‘j’ was not declared in this scope
28 | for (int j=0; j<(n+1)/2); ++j)if (i&(1<<j))sum+=vect[j+n/2];
| ^