Problem brick
User krishnakanhaiyabasuribajaiya
Submission Time 2023-10-21 20:47:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:6:12: error: ‘sync_with_iostream’ is not a member of ‘std::ios_base’
6 | ios_base::sync_with_iostream(false)
| ^~~~~~~~~~~~~~~~~~
brick.cpp:8:12: error: ‘N’ was not declared in this scope
8 | cin >> N;
| ^
brick.cpp:19:9: error: ‘else’ without a previous ‘if’
19 | else {
| ^~~~