Самоучитель По Программированию На Free Pascal И Lazarus

Total Page:16

File Type:pdf, Size:1020Kb

Самоучитель По Программированию На Free Pascal И Lazarus КОМПЬЮТЕРНЫЕ НАУКИ И ТЕХНОЛОГИИ Министерство образования и науки Украины Донецкий национальный технический университет Центр компетентности в области компьютерных наук и технологий Алексеев Е.Р., Чеснокова О.В., Кучер Т.В. Самоучитель по программированию на Free Pascal и Lazarus УНИТЕХ ДОНЕЦК 2009 УДК 004.43 ISBN 978-966-8248-26-9 Рецензенты: Аноприенко А.Я. — кандидат технических наук, про- фессор, декан факультета компьютерных наук и тех- нологий Донецкого национального технического университета. Кононов Ю.Н. — доктор физико-математических наук, профессор кафедры прикладной механики и компьютерных технологий Донецкого национального университета. Алексеев Е.Р., Чеснокова О.В., Кучер Т.В. Самоучитель А 47 по программированию на Free Pascal и Lazarus. - Донецк.: ДонНТУ, Технопарк ДонНТУ УНИТЕХ, 2009. - 503 с. Печатается по решению Ученого совета факультета компьютерных наук и технологий Донецкого национального технического университета, протокол №7 от 30 октября 2009 г. Ответственный за выпуск: заведующий кафедрой вычислительной математики и про- граммирования Донецкого национального технического университета, доктор технических наук, профессор Павлыш В.Н. Книга является учебником по алгоритмизации и программированию. В учебнике описан язык Free Pascal и среда визуального программирования Lazarus. Free Pascal и Lazarus яв- ляются мощными и свободно распространяемыми средствами программирования. В книге приведено большое количество примеров алгоритмов и программ. Особое внимание уделено работе с визуальными компонентами, их свойствами и методами. Подробно описаны такие этапы программирования как работа с подпрограммами и файлами. Также в книге можно по- знакомиться с основами объектно-ориентированного программирования и графическими средствами Lazarus. Книга содержит 25 вариантов заданий для самостоятельного решения по всем рассматриваемым темам. Издание предназначено для школьников, студентов, аспирантов и преподавателей, а также для всех, кто изучает программирование на Free Pascal и Lazarus. Материалы, составляющие данную книгу, распространяются на условиях лицензии GNU FDL. ISBN 978-966-8248-26-9 ООО «Технопарк ДонНТУ УНИТЕХ» Алексеев Е.Р., Чеснокова О.В., Кучер Т.В., 2009 Алексеев Е.Р., Чеснокова О.В., Кучер Т.В. Самоучитель по программированию на Free Pascal и Lazarus 3 Содержание Введение......................................................................................................7 Сведения об авторах.................................................................................10 1 Средства разработки программ на языке Free Pascal........................11 1.1 Процесс разработки программы...................................................11 1.2 Среда программирования Free Pascal..........................................13 1.2.1 Работа в текстовом редакторе Free Pascal.............................17 1.2.2 Запуск программы в среде Free Pascal и просмотр результа- тов.......................................................................................................18 1.3 Текстовый редактор Geany............................................................19 1.4 Среда визуального программирования Lazarus..........................20 1.4.1 Установка Lazarus в ОС Linux................................................22 1.4.2 Установка Lazarus под управлением ОС Windows...............25 1.4.3 Среда Lazarus...........................................................................28 1.4.4 Главное меню Lazarus.............................................................30 1.4.5 Окно формы.............................................................................34 1.4.6 Окно редактора Lazarus..........................................................34 1.4.7 Панель компонентов................................................................43 1.4.8 Инспектор объектов................................................................43 1.4.9 Первая программа в Lazarus...................................................44 1.4.10 Полезная программа..............................................................53 1.4.11 Консольное приложение среды Lazarus..............................59 1.4.12 Операторы ввода - вывода данных......................................61 2 Общие сведения о языке программирования Free Pascal.................64 2.1 Структура проекта Lazarus............................................................64 2.2 Структура консольного приложения............................................65 2.3 Элементы языка.............................................................................67 2.4 Данные в языке Free Pascal...........................................................68 2.4.1 Символьный тип данных........................................................69 2.4.2 Целочисленный тип данных...................................................69 2.4.3 Вещественный тип данных....................................................70 2.4.4 Тип дата-время.........................................................................70 2.4.5 Логический тип данных..........................................................71 2.4.6 Создание новых типов данных..............................................71 2.4.7 Перечислимый тип данных....................................................71 2.4.8 Интервальный тип...................................................................72 Алексеев Е.Р., Чеснокова О.В., Кучер Т.В. Самоучитель по программированию на Free Pascal и Lazarus 4 2.4.9 Структурированные типы.......................................................72 2.4.10 Указатели................................................................................75 2.5 Операции и выражения.................................................................76 2.5.1 Арифметические операции....................................................78 2.5.2 Операции отношения..............................................................80 2.5.3 Логические операции..............................................................80 2.5.4 Операции над указателями.....................................................81 2.6 Стандартные функции...................................................................81 2.7 Задачи для самостоятельного решения........................................94 3 Операторы управления........................................................................96 3.1 Основные конструкции алгоритма...............................................96 3.2 Оператор присваивания.................................................................97 3.3 Составной оператор.......................................................................98 3.4 Условные операторы......................................................................98 3.4.1 Условный оператор if…then…else.........................................98 3.4.2 Оператор варианта case ........................................................117 3.5 Обработка ошибок. Вывод сообщений в среде Lazarus...........121 3.6 Операторы цикла..........................................................................125 3.6.1 Оператор цикла с предусловием while .. do........................126 3.6.2 Оператор цикла с постусловием repeat … until..................127 3.6.3 Оператор цикла for … do......................................................129 3.7 Операторы передачи управления...............................................132 3.8 Решение задач с использованием циклов..................................132 3.9 Ввод данных из диалогового окна в среде Lazarus...................147 3.10 Задачи для самостоятельного решения....................................156 3.10.1 Разветвляющийся процесс..................................................156 3.10.2 Циклический процесс.........................................................161 4 Подпрограммы....................................................................................164 4.1 Общие сведения о подпрограммах. Локальные и глобальные переменные..........................................................................................164 4.2 Формальные и фактические параметры. Передача параметров в подпрограмму......................................................................................165 4.3 Процедуры....................................................................................166 4.4 Функции........................................................................................171 4.5 Решение задач с использованием подпрограмм........................176 4.6 Рекурсивные функции.................................................................198 4.7 Особенности работы с подпрограммами...................................202 4.7.1 Параметры-константы...........................................................202 Алексеев Е.Р., Чеснокова О.В., Кучер Т.В. Самоучитель по программированию на Free Pascal и Lazarus 5 4.7.2 Процедурные типы................................................................202 4.8 Разработка модулей......................................................................206 4.9 Задачи для самостоятельного решения......................................210 5 Использование языка Free Pascal для обработки массивов............213 5.1 Общие сведения о массивах........................................................213 5.2 Описание массивов......................................................................214 5.3 Операции над массивами............................................................216 5.4 Ввод-вывод элементов массива..................................................217 5.4.1 Организация ввода-вывода...................................................217
Recommended publications
  • LAZARUS UNDER the HOOD Executive Summary
    LAZARUS UNDER THE HOOD Executive Summary The Lazarus Group’s activity spans multiple years, going back as far as 2009. Its malware has been found in many serious cyberattacks, such as the massive data leak and file wiper attack on Sony Pictures Entertainment in 2014; the cyberespionage campaign in South Korea, dubbed Operation Troy, in 2013; and Operation DarkSeoul, which attacked South Korean media and financial companies in 2013. There have been several attempts to attribute one of the biggest cyberheists, in Bangladesh in 2016, to Lazarus Group. Researchers discovered a similarity between the backdoor used in Bangladesh and code in one of the Lazarus wiper tools. This was the first attempt to link the attack back to Lazarus. However, as new facts emerged in the media, claiming that there were at least three independent attackers in Bangladesh, any certainty about who exactly attacked the banks systems, and was behind one of the biggest ever bank heists in history, vanished. The only thing that was certain was that Lazarus malware was used in Bangladesh. However, considering that we had previously found Lazarus in dozens of different countries, including multiple infections in Bangladesh, this was not very convincing evidence and many security researchers expressed skepticism abound this attribution link. This paper is the result of forensic investigations by Kaspersky Lab at banks in two countries far apart. It reveals new modules used by Lazarus group and strongly links the tools used to attack systems supporting SWIFT to the Lazarus Group’s arsenal of lateral movement tools. Considering that Lazarus Group is still active in various cyberespionage and cybersabotage activities, we have segregated its subdivision focusing on attacks on banks and financial manipulations into a separate group which we call Bluenoroff (after one of the tools they used).
    [Show full text]
  • Lazarus Under the Hood Kaspersky Lab Global Research and Analysis Team Executive Summary
    Lazarus Under The Hood Kaspersky Lab Global Research and Analysis Team Executive Summary The Lazarus Group’s activity spans multiple years, going back as far as 2009. Its malware has been found in many serious cyberattacks, such as the massive data leak and file wiper attack on Sony Pictures Entertainment in 2014; the cyberespionage campaign in South Korea, dubbed Operation Troy, in 2013; and Operation DarkSeoul, which attacked South Korean media and financial companies in 2013. There have been several attempts to attribute one of the biggest cyberheists, in Bangladesh in 2016, to Lazarus Group. Researchers discovered a similarity between the backdoor used in Bangladesh and code in one of the Lazarus wiper tools. This was the first attempt to link the attack back to Lazarus. However, as new facts emerged in the media, claiming that there were at least three independent attackers in Bangladesh, any certainty about who exactly attacked the SWIFT systems, and was behind one of the biggest ever bank heists in history, vanished. The only thing that was certain was that Lazarus malware was used in Bangladesh. However, considering that we had previously found Lazarus in dozens of different countries, including multiple infections in Bangladesh, this was not very convincing evidence and many security researchers expressed skepticism abound this attribution link. This paper is the result of forensic investigations by Kaspersky Lab at banks in two countries far apart. It reveals new modules used by Lazarus group and strongly links the SWIFT system attacking tools to the Lazarus Group’s arsenal of lateral movement tools. Considering that Lazarus Group is still active in various cyberespionage and cybersabotage activities, we have segregated its subdivision focusing on attacks on banks and financial manipulations into a separate group which we call Bluenoroff (after one of the tools they used).
    [Show full text]
  • Rapid Application Development Resumo Abstract
    Rapid Application Development Otavio Rodolfo Piske – [email protected] Fábio André Seidel – [email protected] Especialização em Software Livre Centro Universitário Positivo - UnicenP Resumo O RAD é uma metodologia de desenvolvimento de grande sucesso em ambientes proprietários. Embora as ferramentas RAD livres ainda sejam desconhecidas por grande parte dos desenvolvedores, a sua utilização está ganhando força pela comunidade de software livre. A quantidade de ferramentas livres disponíveis para o desenvolvimento RAD aumentou nos últimos anos e mesmo assim uma parcela dos desenvolvedores tem se mostrado cética em relação a maturidade e funcionalidades disponíveis nestas ferramentas devido ao fato de elas não estarem presentes, por padrão, na maioria das distribuições mais utilizadas. Além disso, elas não contam com o suporte de nenhum grande distribuidor e, ainda que sejam bem suportadas pela comunidade, este acaba sendo um empecilho para alguns desenvolvedores. Outro foco para se utilizar no desenvolvimento RAD é a utilização de frameworks, onde esses estão disponíveis para desenvolvimento em linguagens como C e C++ sendo as mais utilizadas em ambientes baseados em software livre, embora estas linguagens não sejam tão produtivas para o desenvolvimento de aplicações rápidas. Abstract RAD is a highly successful software development methodology in proprietary environments. Though free RAD tools is yet unknown for a great range of developers, its usage is growing in the free software community. The amount of free RAD tools available has increased in the last years, yet a considerable amount of developers is skeptic about the maturity and features available in these tools due to the fact that they are not available by default on the biggest distribution.
    [Show full text]
  • Modern Object Pascal Introduction for Programmers
    Modern Object Pascal Introduction for Programmers Michalis Kamburelis Table of Contents 1. Why ....................................................................................................................... 3 2. Basics .................................................................................................................... 3 2.1. "Hello world" program ................................................................................. 3 2.2. Functions, procedures, primitive types ....................................................... 4 2.3. Testing (if) ................................................................................................... 6 2.4. Logical, relational and bit-wise operators ................................................... 8 2.5. Testing single expression for multiple values (case) ................................... 9 2.6. Enumerated and ordinal types and sets and constant-length arrays ......... 10 2.7. Loops (for, while, repeat, for .. in) ............................................................ 11 2.8. Output, logging ......................................................................................... 14 2.9. Converting to a string ............................................................................... 15 3. Units .................................................................................................................... 16 3.1. Units using each other .............................................................................. 18 3.2. Qualifying identifiers with
    [Show full text]
  • Beginners' Guide to Lazarus
    Beginners’ Guide to Lazarus IDE Conquering Lazarus in bite-size chunks! An E-book on Lazarus IDE to help newbies start quickly by Adnan Shameem from LazPlanet First Edition: 15 December 2017 This book is licensed under Creative Commons Attribution 4.0 International (can be accessed from: https://creativecommons.org/licenses/by/4.0/). You can modify this book and share it and use it in commercial projects as long as you give attribution to the original author. Such use and remix is encouraged. Would love to see this work being used in the Free Culture. Source files for this E-book can be found at: https://github.com/adnan360/lazarus-beginners-guide Fork and remix. Have fun! i Contents 1: What is Lazarus........................................................................................................................................ 1 2: How to Install........................................................................................................................................... 2 3: How to Create Your First Program...................................................................................................... 3 4: How to Position Stuff on a Form........................................................................................................ 5 5: How to Customize your Tools.............................................................................................................. 7 6: How to use Events................................................................................................................................
    [Show full text]
  • Free Pascal and Lazarus Programming Textbook
    This page deliberately left blank. In the series: ALT Linux library Free Pascal and Lazarus Programming Textbook E. R. Alekseev O. V. Chesnokova T. V. Kucher Moscow ALT Linux; DMK-Press Publishers 2010 i UDC 004.432 BBK 22.1 A47 Alekseev E.R., Chesnokova O.V., Kucher T.V. A47 Free Pascal and Lazarus: A Programming Textbook / E. R. Alekseev, O. V. Chesnokova, T. V. Kucher M.: ALTLinux; Publishing house DMK-Press, 2010. 440 p.: illustrated.(ALT Linux library). ISBN 978-5-94074-611-9 Free Pascal is a free implementation of the Pascal programming language that is compatible with Borland Pascal and Object Pascal / Delphi, but with additional features. The Free Pascal compiler is a free cross-platform product implemented on Linux and Windows, and other operating systems. This book is a textbook on algorithms and programming, using Free Pascal. The reader will also be introduced to the principles of creating graphical user interface applications with Lazarus. Each topic is accompanied by 25 exercise problems, which will make this textbook useful not only for those studying programming independently, but also for teachers in the education system. The book’s website is: http://books.altlinux.ru/freepascal/ This textbook is intended for teachers and students of junior colleges and universities, and the wider audience of readers who may be interested in programming. UDC 004.432 BBK 22.1 This book is available from: The <<Alt Linux>> company: (495) 662-3883. E-mail: [email protected] Internet store: http://shop.altlinux.ru From the publishers <<Alians-kniga>>: Wholesale purchases: (495) 258-91-94, 258-91-95.
    [Show full text]
  • IV. Программное Обеспечение Для Объектно-Ориентированного Программирования И Разработки Приложений (Kdevelop, Lazarus, Gambas)
    IV. Программное обеспечение для объектно-ориентированного программирования и разработки приложений (Kdevelop, Lazarus, Gambas).............................................................. 2 1. Введение в ООП......................................................................................................................... 2 2. Разработка ПО с использованием Kdevelop.......................................................................... 16 2.1. Основы языка программирования C++.......................................................................... 17 2.2. Работа со средой разработки ПО KDevelop .................................................................. 30 3. Разработка ПО с использованием Lazarus............................................................................. 37 3.1. Основы языка программирования Pascal....................................................................... 38 3.2. Работа со средой разработки ПО Lazarus ...................................................................... 48 4. Разработка ПО с использованием Gambas ............................................................................ 54 4.1. Основы языка программирования BASIC (ОО диалект) ............................................. 55 4.2. Работа со средой разработки ПО Gambas...................................................................... 61 Академия АйТи Установка и администрирование ПСПО. Лекции. Часть 4 Страница 1 из 67 IV. Программное обеспечение для объектно- ориентированного программирования и разработки приложений
    [Show full text]
  • UAH Research Report No. 122 Interim Report Contract No. NAS8-25750
    UAH Research Report No. 122 Interim Report Contract No. NAS8-25750 THE RESPONSES OF THE THERMOSPHERE DUE TO A GEOMAGNETIC STORM - A MHD MODEL by S. T. Wu and Shih-chih Chang Submitted by School of Graduate Studies and Research The University of Alabama in Huntsville Post Office Box 1247 Huntsville/ Alabama December 1972 UAH Research Report No. 122 Interim Report Contract No. NAS8-25750 THE RESPONSES OF THE THERMOSPHERE DUE TO A GEOMAGNETIC STORM - A MHD MODEL by S. T. Wu and Shih-chih Chang Submitted by School of Graduate Studies and Research The University of Alabama in Huntsville Post Off ice Box 1247 Huntsville/ Alabama December 1972 ACKNOWLEDGMENT This work was supported by Marshall Space Flight Center/NASA under Contract NAS8-25750 with the technical coordination of Mr« R. E* Smith, Chief, Space Envi- ronment Branch/Aero-Astronautics Lab. His encouragement and consultation during the course of this study are highly appreciatedo TABLE OF CONTENTS Chapter Page SUMMARY . 1 I. INTRODUCTION 2 II. FORMULATION OF THE PROBLEM 5 II-l Basic Equations II-2 Some Fundamental Solutions II-3 Time Dependent Problem III. NUMERICAL EXAMPLES 15 III-l Statement of the Problem III-2 Results IV. CONCLUDING REMARKS AND RECOMMENDATIONS 18 ii LIST OF FIGURES Figure 1. Perturbations in horizontal component of magnetic field at College, Alaska for May 25-26, 1967. Figure 2. Perturbations in vertical component of magnetic field at College, Alaska for May 25-26, 1967. Figure 3. Electric field at 140 km over College, Alaska on May 25-26, 1967. Figure 4. Horizontal wind velocity at 140 km over College, Alaska on May 25- 26, 1967.
    [Show full text]
  • C++ Application Development with Code::Blocks Ebook, Epub
    C++ APPLICATION DEVELOPMENT WITH CODE::BLOCKS PDF, EPUB, EBOOK Biplab Kumar Modak | 128 pages | 31 Oct 2013 | Packt Publishing Limited | 9781783283415 | English | Birmingham, United Kingdom C++ Application Development with Code::Blocks PDF Book Prosanto on May 23, Creation of multi-platform GUI dialogue boxes. A shortcut will be created on the desktop. Click the Run button the blue triangle to execute your program. Last Updated : 25 Aug, Flag as inappropriate. Visual Studio provides many features that help you to code correctly and more efficiently. Features :. Red colored lines indicate Code::Blocks was unable to detect the presence of a particular compiler. Jump to: navigation , search. Linx is a low code IDE and server. Class browser. It helps you to write, run, and debug code with any browser. This course is divided into clear chunks so you can learn at your own pace. The other application templates in Figure 3 are for developing more advanced types of applications. Supports Static Code Analysis. Installation will now be completed:. You can install it to default installation directory. Management pane : This window shows all open files including source files, project files, and workspace files. Figure 3: Step 1, selecting a project template. All these different phases would need different packages to be installed and was difficult to maintain by a Developer. Also, please look at the C programming test to measure your proficiency in C. Debugger toolbar. This optional setting aids while the program faces some unexpected errors occurring during the execution related to the Linker, compiler, build options, and directories setting. Reviews Review policy and info.
    [Show full text]
  • Notre Dame Scholastic, Vol. 17, No. 17
    §0LS Sisce quasi semper victurus ; vive quasi eras moritTLms. VOL. XVIL NOTRE DAME, INDIANA, JANUARY 5, 1SS4, No. 17. Salutatio AD R. T. E. WALSH, C. S. C. NOSTRA DOMIXJE UXIVERSITATIS PR^BSIDEM IN DIE FESTO PATRONI ILLIUS S. THOM^ APOSTOLI AB ALUMNIS ANNO MDCCCXXXIV GRADCJS ACCEPTURIS OBLATA. NOS LiCEAT THOMA DIGNUM CONSCRIBERE CARMEN. • O prjEclara dies, hyranO sacrata canor o, Semper adauscebis noStr^e sraudia mentis. Lingua tacere potest, bLanda jam luce micat s'oL In CCEIO atque homini vltam dat Christus et orbj. Oum fidei constant miraOula tauta, Deo nunO Est standum, Thoma, nEque fas incredulus essE. Aeterno Verbo cAi'nem internerata MariA Tempore donavit cerTo: perfectus homo fiT. T e r r i f i c a T mundum, aTque InfanDum numen adoranT HoiTescendo Homines Homo, nam luvat esse JehovaH- Omnipotens Oi'itur, mOrbos Dominatur, et unO Mors verbo Moritur: Lazarus Mox corpore vita M Accipit:ex ipsA radiAt vis Morte supei'nA. Discipulis reSonat Domini vox desIJbito; seD Interea Didimus tetlgit Sacra vulnera "VidI! Gratia me domuit!" Qaudens, " Deus " I exclamat et nunG; Nos LiCEAT THOMA DtGNUM CONSCRIBERE CARMEN. Usus inest animum gratUm depromere versIJ: M'ljorem juvenes Malunt persolvei'e laudeM- Orescit amor. Humerus Crescit: Senioribus anno hoO Officium majus, festO redeunte patemO- Num quid enim melius Nobis quam pectora sint? AN. Sexcentos PatriS mereamur amore favoreS? Oonstantes Thomce Ouras mirantur alumni, aO Ridentem faciem et fRontem placidam, ut maris sBquoR. Ingenio eximius, vigil ans, . ac mente sagacj, Blanditias horrens, duBitas, Cunctator, asrendo: aB Extremis iTa te rEmoves, sapiens .que v5 viderE- Regulce Honos, fidus sacRata^ cRucis amatoR Et .
    [Show full text]
  • 1 Porting Delphi Components to Lazarus
    1 Porting Delphi Components to Lazarus Introduction Porting applications to a different development environment is not an easy task. For stan- dard, vanilla applications, this should be a relatively painless operations. But when porting Delphi applications to Lazarus, one sometimes is faced with the task to port used third-party components to Lazarus. For most non-visual components this task should also not be very difficult: the Free Pascal compiler is meanwhile very Delphi compatible. Only when porting to new platforms, the Windows API must be replaced with something cross-platform: This is the main obstacle. However, many existing Delphi visual components are deeply rooted in Windows and are next to impossible to port to Lazarus - unless they are rewritten from the ground up. The Lazarus structure aims to re-implement the VCL as closely as possible, but it is nevertheless sufficiently different to make porting some components a difficult task - but not impossible: simple descendents of standard Delphi components will be easily ported. Compiler issues The Free Pascal compiler is a bit different from Delphi: It knows multiple compiler modes, and one point to be considered when converting components is which compiler mode will be used: • Plain FPC. This does not allow use of classes or threads or many other delphi fea- tures, so it is most likely out of the question • TP compatibility mode has the same drawbacks as the FPC mode, so is equally useless. • OBJFPC mode: This is the object-pascal mode of the compiler: Support for classes, exceptions, threads are switched on. • Delphi mode: The compiler tries to be as Delphi-compatible as possible.
    [Show full text]
  • Новые Возможности Pascalabc.NET 2015
    Язык программирования PascalABC.NET 3.0 2015 год Обзор новых возможностей PascalABC.NET – завоевание популярности • Компактная мощная оболочка. • Мощный современный язык программирования, совместимый со «стандартным Паскалем». • Сайт http://pascalabc.net с огромным количеством примеров. • Около 2000 скачиваний в день. • 29.03.2015 – 1 миллион скачиваний с начала проекта. • Включение PascalABC.NET как основного языка в ряд школьных учебников по информатике. • С 2013 г. – активное использование на олимпиадах по программированию. 2 Этап всероссийской олимпиады по информатике в Москве 2014-15 2013-14 Школьный Окружной Региональный * Школьный Окружной Региональный Всего участников (>0 баллов) 5740 100,00% 1932 100,00% 478 100,00% 5492 100,00% 2061 100,00% 471 100,00% * - учтены все участники PascalABC.Net 2723 47,44% 552 28,57% 59 12,34% 1906 34,71% 765 37,12% 78 16,56% FPC 881 15,35% 433 22,41% 58 12,13% 1907 34,72% 552 26,78% 45 9,55% Дельфи 43 0,75% 30 1,55% 9 1,88% 99 1,80% 26 1,26% 24 5,10% Все паскали 3608 62,86% 944 48,86% 102 21,34% 3783 68,88% 1402 68,03% 129 27,39% g++ 557 9,70% 368 19,05% 222 46,44% 348 6,34% 58 2,81% 158 33,55% gcc 225 3,92% 87 4,50% 22 4,60% 157 2,86% 11 0,53% 20 4,25% clang++ 34 0,59% 20 1,04% 9 1,88% 41 0,75% 306 14,85% 13 2,76% clang 8 0,14% 4 0,21% 4 0,84% 41 0,75% 64 3,11% 3 0,64% Все С/C++ 811 14,13% 462 23,91% 244 51,05% 564 10,27% 371 18,00% 188 39,92% Python-3 580 10,10% 379 19,62% 174 36,40% 339 6,17% 214 10,38% 162 34,39% Python-2 38 0,66% 22 1,14% 8 1,67% 52 0,95% 21 1,02% 13 2,76% Все питоны 611 10,64%
    [Show full text]