Const n=7; var a:array[1..n,1..n] of integer; i,j,imax,jmax:integer; begin Randomize; imax:=1; jmax:=1; Writeln('Исходный массив'); for i:=1 to n do begin for j:=1 to n do begin a[i,j]:=Random(90)+10; Write(a[i,j]:3); if a[i,j]>a[imax,jmax] then begin imax:=i; jmax:=j end; end; Writeln end; Writeln('Max[',imax,',',jmax,']=',a[imax,jmax]) end.
<script type="text/javascript"> var ans=prompt('Name a vegetable that is green on the outside and white on the inside. It starts with C.','answer'); if(ans=='Cucumber') alert('Congratulations, answer is right!'); else alert('Wrong answer'); alert('Game over'); </script>
//2 <script type="text/javascript"> var count=0; var ans=prompt('Name a vegetable that is green on the outside and white on the inside. It starts with C.','answer'); if(ans=='Cucumber') count=count+1; ans=prompt('Name a tiny, round green vegetable that grows in pods. It starts with P. Children like it.','answer'); if(ans=='Peas') count=count+1; ans=prompt('What goes up when the rain comes down?','answer'); if(ans=='Umbrella') count=count+1; ans=prompt('I am purple, yellow, red,/and green./The King cannot reach me and neither can the Queen./I show my colours after the rain,/And only when the sun comes out again.','answer'); if(ans=='Rainbow') count=count+1; alert('Count of right answers:'+count); alert('Game over'); </script>
V=512000
t=32c
S-?
S=t*V
S=512000*32=16384000(бит)
переведем в килобайты
16384000:8:1024=2000Кб