Introduction to competitive programming with c++
19
-
Upload
yousef-soliman -
Category
Software
-
view
192 -
download
1
Transcript of Introduction to competitive programming with c++
![Page 1: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/1.jpg)
![Page 2: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/2.jpg)
Introduction
●ACM
●Online Judge
●URI
![Page 3: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/3.jpg)
Problem anatomy
● Description
● Input/Output constraints and specification
● Input/Output samples
● Time limit / Memory limit
![Page 4: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/4.jpg)
Problem Example
![Page 5: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/5.jpg)
Automatic judge
● Accepted (AC)
● Presentation Error (PE)
● Wrong Answer (WA)
● Compile Error (CE)
● Time Limit Exceeded (TLE)
![Page 6: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/6.jpg)
C/C++
● Output
● Input
● Data types
● IF Condition
● Loops
![Page 7: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/7.jpg)
Output
![Page 8: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/8.jpg)
End line
![Page 9: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/9.jpg)
Input
![Page 10: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/10.jpg)
Data types
![Page 11: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/11.jpg)
Data types
![Page 12: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/12.jpg)
Data types
![Page 13: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/13.jpg)
IF Condition
![Page 14: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/14.jpg)
IF Condition
![Page 15: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/15.jpg)
IF Condition
![Page 16: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/16.jpg)
Loops
![Page 17: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/17.jpg)
Loops
![Page 18: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/18.jpg)
Loops
![Page 19: Introduction to competitive programming with c++](https://reader034.fdocuments.in/reader034/viewer/2022052305/588495781a28ab26058b4f07/html5/thumbnails/19.jpg)