Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Определение стенки с максимальной высотой
const n = 8; var h, h_next, max, i : integer; begin readln (h); max := h; for i := 2 to n do begin readln (h_next); if h < h_next then begin if max < h_next then begin max := h_next; end else begin {пока ничего не делаем} end end else {h>=h_next} begin {пока ничего не делаем} end; h := h_next; end; writeln(max); end.
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Сумма цифр в строке
10
Bang cuu chuong
12 13
Сумма пар чисел кратных и некратных 11 с дельтой
pdp34-greek-programming-contest
VIGENERECIJFER
BIANCA SAMPAIO ALFRADIQUE 600615759
JONES
P170808B
Please log in to post a comment.