Help Please! Where is this code wrong
#include<bits/stdc++.h>
- using namespace std;
- int main()
- {
- int n, temp_start = 0, depth = 0, pos_depth = 0, i = 1, max = 0, pos_max = 0, temp_cnt = 0, cnt = 0, temp_pos = 0, bno = 0, temp_symbol = 0;
- cin>>n;
- while(n--)
- {
- cin>>bno;
- i++;
Read more… (129 words)