Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
zad27-notoptimal
//fpc 3.0.0 program zad27; var x : array [1..30000] of byte; var res : longint; var i, j : integer; begin res:=0; for i:=1 to length(x) do begin x[i]:=i; if i>1 then for j:=1 to i-1 do begin if (((x[i]+x[j]) mod 2) = 1) and (((x[i]*x[j]) mod 3) = 0) then res:=res+1; end; end; writeln('res=',res); end.
run
|
edit
|
history
|
help
0
Pokazivac-dinamicka alokacija memorije
zadanye 3 a
JONES AKPOTU
Calculatrice 1.0
BubbleSor (slimst)
1
test2
practica 2 ejercicio 3
Tugas1
Naloga 8: 10.9.2008