ak74-81
?>

Черно-белый рисунок содержит 8 квадратов черных квадратов на 2 больше, чем белых. сколько в коде рисунка единиц?

Информатика

Ответы

zu87zu87
8+2=10 10+8=18 18 единиц всего
Баканова1415

ответ:"objName": "Stage",

"lists": [{

  "listName": "dummy",

  "contents": [],

  "isPersistent": false,

  "target": "Stage",

  "x": 5,

  "y": 5,

  "width": 102,

  "height": 202,

  "visible": true

 }],

"sounds": [{

  "soundName": "pop",

  "soundID": 0,

  "md5": "83a9787d4cb6f3b7632b4ddfebf74367.wav",

  "sampleCount": 258,

  "rate": 11025,

  "format": ""

 }],

"costumes": [{

  "costumeName": "backdrop1",

  "baseLayerID": 3,

  "baseLayerMD5": "790f7842ea100f71b34e5b9a5bfbcaa1.svg",

  "rotationCenterX": 240,

  "rotationCenterY": 180

 }],

"currentCostumeIndex": 0,

"penLayerMD5": "279467d0d49e152706ed66539b577c00.png",

"tempoBPM": 60,

"children": [{

  "objName": "Scratch Cat",

  "scripts": [[53,

    47.8,

    [["procDef", "Fill %s with %s , %n times", ["list", "a", "n"], ["", "", 1], true],

     ["doRepeat", ["getParam", "n"], [["append:toList:", ["getParam", "a"], "dummy"]]]]]],

  "sounds": [{

    "soundName": "pop",

    "soundID": 0,

    "md5": "83a9787d4cb6f3b7632b4ddfebf74367.wav",

    "sampleCount": 258,

    "rate": 11025,

    "format": ""

   }],

  "costumes": [{

    "costumeName": "costume1",

    "baseLayerID": 1,

    "baseLayerMD5": "f9a1c175dbe2e5dee472858dd30d16bb.svg",

    "rotationCenterX": 47,

    "rotationCenterY": 55

   },

   {

    "costumeName": "costume2",

    "baseLayerID": 2,

    "baseLayerMD5": "6e8bd9ae68fdb02b7e1e3df656a75635.svg",

    "rotationCenterX": 47,

    "rotationCenterY": 55

   }],

  "currentCostumeIndex": 0,

  "scratchX": 0,

  "scratchY": 0,

  "scale": 1,

  "direction": 90,

  "rotationStyle": "normal",

  "isDraggable": false,

  "indexInLibrary": 1,

  "visible": true,

  "spriteInfo": {

Объяснение:

stratocasterr34

ответ:

объяснение:

1.

var

  a: array[1..1000] of integer;

  i, n: integer;

  count: integer;

begin

  writeln('input n = ');

  readln(n);

  for i: =1 to n do begin

    writeln('input a[', i, '] = ');

    readln(a[i]);

  end;

  count: =0;

  i: =1;

  while (i< =n) do begin

    if mod 3) = 0) and ((a[i] - (a[i] div 10)*10) = 2)) then count: =count + 1;

    i: =i+1;

  end;

  writeln(count);

  readln;

end.

2.

var

  a: array[1..1000] of integer;

  i, n: integer;

  count: integer;

begin

  writeln('input n = ');

  readln(n);

  for i: =1 to n do begin

    writeln('input a[', i, '] = ');

    readln(a[i]);

  end;

  count: =0;

  i: =1;

  repeat

    if mod 3) = 0) and ((a[i] - (a[i] div 10)*10) = 2)) then count: =count + 1;

    i: =i+1;

  until (i > n);

  writeln(count);

  readln;

end.

Ответить на вопрос

Поделитесь своими знаниями, ответьте на вопрос:

Черно-белый рисунок содержит 8 квадратов черных квадратов на 2 больше, чем белых. сколько в коде рисунка единиц?
Ваше имя (никнейм)*
Email*
Комментарий*

Популярные вопросы в разделе

Васильев1028
Playintim405374
Вакуленко
natkul22
Филиппович_Николаевич
dimoni86
Anna572
Lapushkin1988
Серопян
nsh25044
Prokopeva1062
Tuzov
Альберт Татьяна
Pokupatel
Kolokolnikova DANIIL179
▲