This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <elf.h> | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| static size_t align_to(size_t value, size_t alignment) | |
| { | |
| return (value + alignment - 1) & ~(alignment - 1); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chcp 65001 >NUL | |
| set /p Build=<SourceFiles | |
| echo %Build% | |
| clang++ -municode -o out/mavka.exe %Build% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import turtle | |
| t = turtle.Turtle() | |
| t.speed(5) | |
| def startpos(): | |
| t.penup() | |
| t.goto(0, 0) | |
| t.pendown() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <string.h> | |
| #define uint unsigned int | |
| typedef struct HistorycalEvents { | |
| char event[255]; | |
| int year; | |
| char country[50]; | |
| } HistorycalEvent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <locale.h> | |
| #include <wchar.h> | |
| #include <wctype.h> | |
| #define MAX_SENTENCES 256 | |
| #define MAX_SENTENCE_LEN 1024 | |
| int count_words(wchar_t sen[]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <cmath> | |
| using namespace std; | |
| class Complex { | |
| private: | |
| double real; | |
| double imagine; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is ApacheBench, Version 2.3 <$Revision: 1843412 $> | |
| Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
| Licensed to The Apache Software Foundation, http://www.apache.org/ | |
| Benchmarking localhost (be patient) | |
| Completed 500 requests | |
| Completed 1000 requests | |
| Completed 1500 requests | |
| Completed 2000 requests | |
| Completed 2500 requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| N = int(input("Enter N: ")) | |
| people = [] | |
| peopleTotalAge = 0 | |
| for i in range(0, N): | |
| in_name = input("Name[{}]: ".format(i + 1)) | |
| in_surname = input("Surname[{}]: ".format(i + 1)) | |
| in_age = int(input("Age[{}]: ".format(i + 1))) | |
| print() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <cmath> | |
| using namespace std; | |
| class numbers_pair { | |
| protected: | |
| int first, second; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| struct automobile { | |
| char number[50]; | |
| char brand[50]; | |
| char color[10]; | |
| int year; | |
| char owner[50]; |
NewerOlder