- Click on the settings icon.
- Build custom theme with style editor.
- Paste the stylesheet.
This file contains 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
; Program to add two numbers | |
section .text | |
global _start | |
_start: | |
; handles the first input | |
mov eax, 4; write | |
mov ebx, 1; std_out | |
mov ecx, msg1; what to write |
This file contains 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
const num = | |
"37107287533902102798797998220837590246510135740250\n" + | |
"46376937677490009712648124896970078050417018260538\n" + | |
"74324986199524741059474233309513058123726617309629\n" + | |
"91942213363574161572522430563301811072406154908250\n" + | |
"23067588207539346171171980310421047513778063246676\n" + | |
"89261670696623633820136378418383684178734361726757\n" + | |
"28112879812849979408065481931592621691275889832738\n" + | |
"44274228917432520321923589422876796487670272189318\n" + | |
"47451445736001306439091167216856844588711603153276\n" + |
This file contains 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
var x = 0, y = 1; | |
while (factors(x).length <= 500) { | |
x += y; | |
y++; | |
} | |
console.log(x); | |
function factors(n) { |
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains 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
// Grab dependencies | |
const express = require('express'); | |
const chalk = require('chalk'); // Chalk was added by create-react-app, use only on the dev side | |
const webpack = require('webpack'); | |
const webpackDevServer = require('webpack-dev-server'); | |
// load up our environment variables | |
require('dotenv').load(); | |
const PORT = process.env.PORT || 3000; |
This file contains 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
# Enter your code here. Read input from STDIN. Print output to STDOUT | |
n, m = input().split() | |
n = int(n) | |
m = int(m) | |
extra = 0 | |
reversed_iteration = False | |
tracker = [] | |
for i in range(0, n): |
This file contains 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
def swap_case(s): | |
result = '' | |
for i, letter in enumerate(s): | |
if letter.islower(): | |
result += letter.upper() | |
else: | |
result += letter.lower() | |
return result |
This file contains 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
if __name__ == '__main__': | |
N = int(input()) | |
mylist = [] | |
for _ in range(N): | |
command, *numbers = input().split() | |
if command == 'print': | |
print(mylist) |
NewerOlder