pio.cpp:1:1: error: 'nclude' does not name a type
nclude <bits/stdc++.h>
^~~~~~
pio.cpp: In function 'void build()':
pio.cpp:25:16: error: 'max' was not declared in this scope
tab[i][j] = max(tab[i][j-1], tab[i+(1<<(j-1))][j-1]);
^~~
pio.cpp:25:16: note: suggested alternative: 'maxl'
tab[i][j] = max(tab[i][j-1], tab[i+(1<<(j-1))][j-1]);
^~~
maxl
pio.cpp: In function 'int mx(int, int)':
pio.cpp:32:9: error: 'max' was not declared in this scope
return max(tab[l][j],tab[r-(1<<j)+1][j]);
^~~
pio.cpp:32:9: note: suggested alternative: 'mx'
return max(tab[l][j],tab[r-(1<<j)+1][j]);
^~~
mx
pio.cpp: In function 'int main()':
pio.cpp:37:2: error: 'scanf' was not declared in this scope
scanf("%d", &n);
^~~~~
pio.cpp:50:12: error: 'max' was not declared in this scope
int l = max(1, i - d*d);
^~~
pio.cpp:50:12: note: suggested alternative: 'mx'
int l = max(1, i - d*d);
^~~
mx
pio.cpp:51:12: error: 'min' was not declared in this scope
int r = min(i-1, i - d*d + 2*d - 2);
^~~
pio.cpp:51:12: note: suggested alternative: 'main'
int r = min(i-1, i - d*d + 2*d - 2);
^~~
main
pio.cpp:60:12: error: 'max' was not declared in this scope
int l = max(i+1, d*d - 2*d + i + 2);
^~~
pio.cpp:60:12: note: suggested alternative: 'mx'
int l = max(i+1, d*d - 2*d + i + 2);
^~~
mx
pio.cpp:61:12: error: 'min' was not declared in this scope
int r = min(n, i + d*d);
^~~
pio.cpp:61:12: note: suggested alternative: 'main'
int r = min(n, i + d*d);
^~~
main
pio.cpp:68:18: error: 'max' was not declared in this scope
printf("%d\n", max(0, k-a[i]));
^~~
pio.cpp:68:18: note: suggested alternative: 'mx'
printf("%d\n", max(0, k-a[i]));
^~~
mx
pio.cpp:68:3: error: 'printf' was not declared in this scope
printf("%d\n", max(0, k-a[i]));
^~~~~~
pio.cpp:68:3: note: suggested alternative: 'int'
printf("%d\n", max(0, k-a[i]));
^~~~~~
int