Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
nomer2
var a, b, c, l, f, h, j, x, z, p, ma, i, u, mb, pkol : int64; d, e, g : real; begin assign(input,'input.txt'); assign(output,'output.txt'); reset(input); rewrite(output); read(a, b); while (a mod 3 <> 0) do a := a + 1; while (b mod 3 <> 0) do b := b - 1; p := b div 3 - a div 3 + 1; pkol := (a + b) * p div 2; writeln(pkol) end.
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
07 Ariketa
123
Huong11a2@
zadan 4
nomer4
1januar2018
Вычисление e^x с помошью ряда Тейлора
Lab3Factorial
Задача 2 урок не из учебника
basketball_player_training
Please log in to post a comment.