Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
zip
testovi_tret_elektronski_2011.... 17.8 kB 1 20-Aug-2015 17:35 MOI

This page (revision-2) was last changed on 20-Aug-2015 17:35 by MarioTalevski

This page was created on 20-Aug-2015 17:35 by MOI

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 110 added 44 lines
!Паскал
%%prettify
{{{
program anketa; (* Mario Talevski *)
var
n,i,j,max,b,indeks:integer;
ime:string;
niza:array[1..100] of string;
begin
readln(n);
for i:=1 to n do
readln(niza[i]);
max:=0;
for i:=1 to n do
begin
b:=0;
ime:=niza[i];
for j:=1 to n do
begin
if(ime=niza[j]) then
b:=b+1;
if(b>max) then
begin
max:=b;
indeks:=i;
end
end
end;
writeln(niza[indeks]);
end.
}}}
/%
Ова е неофицијално решение на задачата.
Version Date Modified Size Author Changes ... Change note
2 20-Aug-2015 17:35 3.816 kB MarioTalevski to previous
1 20-Aug-2015 17:35 3.156 kB MOI to last
« This page (revision-2) was last changed on 20-Aug-2015 17:35 by MarioTalevski