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
| withFile = 0 | |
| if(withFile == 1): | |
| fin = open('input.txt', 'r') | |
| fout = open('output.txt', 'w') | |
| def getl(): | |
| if(withFile == 0): | |
| return input() | |
| else: |
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 <cstdio> | |
| #include <cstdlib> | |
| #include <vector> | |
| #include <string> | |
| #include <algorithm> | |
| #include <stack> | |
| #include <cstring> | |
| #include <map> | |
| #include <iomanip> |
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 <cstdio> | |
| #include <cstdlib> | |
| #include <vector> | |
| #include <string> | |
| #include <algorithm> | |
| #include <stack> | |
| #include <cstring> | |
| #include <map> | |
| #include <iomanip> |
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
| withFile = 0 | |
| if(withFile == 1): | |
| fin = open('input.txt', 'r') | |
| fout = open('output.txt', 'w') | |
| def getl(): | |
| if(withFile == 0): | |
| return input() | |
| else: |
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
| section .text | |
| global _start | |
| _start: | |
| mov edx,len | |
| mov ecx,msg | |
| mov ebx,1 | |
| mov eax,4 | |
| int 0x80 |
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
| BITS 64 | |
| section .data | |
| a dd 45 | |
| b dd 6 | |
| msg1 db 'A is bigger', 0xa | |
| msg2 db 'B is bigger', 0xa | |
| msg3 db 'A == B', 0xa | |
| msg1l equ $-msg1 | |
| msg2l equ $-msg2 |
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
| BITS 64 | |
| section .data | |
| a dd -3 | |
| b dd -3 | |
| msg1 db 'A is bigger', 0xa | |
| msg1l equ $-msg1 | |
| msg2 db 'B is bigger', 0xa | |
| msg2l equ $-msg2 | |
| msg3 db 'A == B', 0xa |
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
| struct a | |
| { | |
| ~a() | |
| { | |
| cout << "Kek" << endl; | |
| } | |
| a() | |
| { | |
| delete this; | |
| } |
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 <cstdio> | |
| #include <cstdlib> | |
| #include <vector> | |
| #include <algorithm> | |
| #include <stack> | |
| #include <cstring> | |
| #include <map> | |
| #include <iomanip> | |
| #include <queue> |
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 os | |
| print(os.path.dirname(__file__)) | |