Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
5 5
//fpc 3.0.0 program HelloWorld; Var i,x,y,sum: integer; Begin Sum:=0; Read(x,y); For i:=1 to y do Sum:= sum+x; if (x<0) xor (y<0) then sum:=-sum; Write(sum); End.
run
|
edit
|
history
|
help
0
Linija
Pokazivaci, ulancane liste
2sdfghkl
h5534
nomer6
вариант 6, номер 1
Banking
zad27-notoptimized
Why does not work?
Project Euler 21 - Amicable numbers