Предмет: Информатика, автор: sv8

Написать программу в Кумире. Числовой ряд из десяти чисел задаётся генератором случайных чисел в диапозоне от 1 до 20. Определить, сколько среди них чисел меньше 6.

Ответы

Автор ответа: vera000
0

паскаль сойдет? я не знаю что такое КуМир

var a,b,i:longint;

sum:int64;

begin

read(a,b);

for i:=a to b do

sum:=sum+(i*i);

writeln(sum);

end.

 
Похожие вопросы
Предмет: Английский язык, автор: omarsul1980
ПОЖАЛУЙСТА ПЕРЕВЕДИТЕ ТЕКСТ СРОЧНО:

Payback 2: The Battle Sandbox is an action video game developed and published by Apex Designs Entertainment Ltd, and is a remake of, or sequel to the original Payback.[2] It was first released on October 4th, 2012 for iOS, and became free to play in 2013.[3][4] It is also now also available on Android since October 10th, 2014.[5]
Payback 2

Payback 2's logo

Developer(s)Apex Designs EntertainmentPublisher(s)Apex Designs EntertainmentProgrammer(s)James Daniels [1]Composer(s)Wolfgang Amadeus MozartSeriesPaybackEngineUnityPlatform(s)Android, iOSRelease

WW: October 4th, 2012

Genre(s)Role-playing, Action, Grand Theft Auto cloneMode(s)Single-player, multiplayer

GameplayEdit
Payback 2 has a story mode with multiple chapters, the usual objective being for the player to accomplish missions assigned by the player's boss, a crime lord, to obtain enough money to complete the chapter, unlocking the next. The player will answer the ringing payphones, where instructions from the boss, usually via one of his associates, are given. The player can also obtain money from activities such as destroying cars and killing pedestrians. After committing crimes, the player has to avoid being arrested or killed by the police, SWAT or army.[citation needed]
The campaign mode has multiple episodes (chapters), each episode including various types of solo and team events against/with the AI characters. Some of these events include: "Brawl", the objective being kill the most opponents, "Gang Warfare", practically "Brawl" but with two teams, "Capture the Swag", a parody of the outdoor game Capture the flag, and "Race" where the player races against the AI characters in various vehicles around various routes in the different maps.[citation needed]
The multiplayer mode lets the players create and configure multiplayer versions of the event types mentioned above, that are hosted on one of the four game servers of choice. Once the first round finishes, the players can then vote between two randomly generated configurations for the next game. The private multiplayer matches are created in the same way, and the creator can share the four character long "shortcode", which is required to join, with whoever they want to play with. On completion of a public or private match, players earn an amount of "XP" depending on their result.[citation needed]
Payback 2 also has an online challenges mode where hourly, daily and weekly challenges are automatically generated for the players to compete with each other. The player competes against the AI characters, with their result submitted to the leaderboard.[citation needed]
There are various weapons in Payback 2, including a shotgun, pistol, knife, rocket launcher, handheld minigun, auto turret, grenade, flamethrower and remote-controlled explosive.[6][7]
The music used in the game's startup scene is Requiem Mass in D minor - Lacrimosa dies illa by Wolfgang Amadeus Mozart.[8]

DevelopmentEdit
The original Payback focused on single-player gameplay,[9] however in creating Payback 2 Apex Designs decided to use the Unity game engine instead of the original's, create better graphics, and put emphasis on multiplayer gameplay.[10][9] In May 2015, Apex Designs released an update that dramatically improved the game's visuals. The original textures, which had been in use since the original Payback, were replaced with remastered versions, and the lighting upgraded significantly too.[11] The default camera view was also changed from overhead to 3rd person. In December 2016, Payback 2 received another major update, including a proper, more realistic rigidbody physics system, better gravity, improved vehicle models, character models, driving physics and more.[5][12]

Initial ReceptionEditReceptionReview scorePublicationScoreTouchArcade[13]
When it was released, TouchArcade praised Payback 2 for being a competent Grand Theft Auto clone, but criticized it's lack of a good story.[13] Slide2Play was less enthusiastic, claiming that the game "...still has issues with it's basic design. Winning a race is literally as easy as pushing forward... it's hard to target the (other) bad guys in the game's on-foot shooting mission... Shooting is also made difficult by the fact that everybody on-screen is tiny and seems to blend in with the dull environments."[14] Multiple journalists noted having issues connecting, or finding, people to play with online as well.[14][9]