Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
nomer3
var a,b,n,nch:longint; begin Assign(input,'input.txt'); reset(input); Assign(output,'output.txt'); rewrite(output); read(a,b); n:=(b-a)+1; while(a mod 7<>0) do begin a:=a+1; end; while(b mod 7<>0) do begin b:=b-1; end; nch:=(b div 7)-(a div 7)+1; writeln(n-nch); end.
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Huong11a2@
2
Angles
Сортировка трёх чисел в порядке возрастания
pascal1
eje8
j en ai marre
Matriz 9x9
TID_Calculator
String compare
Please log in to post a comment.