Y

@YSS

K

C++
2 months ago
#include <iostream> class FOR { private: int loop; int range; int G; public: FOR(int r[3]) { this->loop = r[1]; this->range = r[0];

P

Python
2 months ago
##うんこby数キチ #ファ!? a = 0 while(True): if (a > 5): break else: print(a) a+=1

O

Python
2 months ago
print([6,2,3][0:2])

生きるリスト

Python
2 months ago
import random def Livinst(params): Livinter = params.copy() Livinter2 = [] LoL = 0 #LifeOfList k = 0 G = [] P = 0 while k < len(Livinter)-1: #リストの寿命 if Livinter2 == Livinter: #カブったらリストは病気

O

C++
2 months ago
#include <iostream> #include <stdio.h> class name { private: int *k; public: name(int *j){ k = j; *k = 0;

t

C
2 months ago
#include <stdio.h> int main() { int k = 0; int *kp = &k; *kp = 8; printf("Hello worl %d !\n",k); return 0; }

O

C
2 months ago
#include <stdio.h> int main() { int k = 0; int *kp = &k; *kp = 8; printf("Hello worl %d !\n",k); return 0; }

P

Python
2 months ago
for name in [None]*16: G = [1] G.append((2*(G[-1])+1)%16) G.append((2*(G[-1]+G[-2]))%16) G.append((2*(G[-1]-1))%16) G.append((2*(G[-1]-G[-2]))%16) G.append(16+(1-(2*(G[-1])+1)%16)) G.append(16+(1-(2*(G[-1]+G[-2])%16)))

P

NodeJS
2 months ago
console.log("Hello world!"); class Memo { constructor() { this.k = {}; this.o = null; } N(params, size) {

連立方程式楽々マシーン

Python
2 months ago
from fractions import Fraction as Fr def reciprocal(LIST,E,F): #Ax + By = E #Cx + Dy = F A = Fr(LIST[0][0]) B = Fr(LIST[0][1]) C = Fr(LIST[1][0]) D = Fr(LIST[1][1]) n = ((A*D)-(B*C)) if n == 0:

K

Python
2 months ago
print('Hello world!')

O

C++
2 months ago
#include <iostream> int main() { int A[2][2]={{1,2},{3,2}}; std::cout << A[1][0] << std::endl; return 0; }

O

Python
2 months ago
def name(tt): Tape = tt n=1 while n < len(Tape): print(Tape,end=":") print(n) if (sum(Tape[(n):(n+2)])%3) != 0: Tape.append((sum(Tape[(n):(n+2)])%3)) else: Tape[-1] = 0

U

C++
2 months ago
#include <iostream> int main() { //Klous32997 //32997.fff.6624 return 0; }

O

Python
2 months ago
condition = True while condition: n = input() if condition and (n != "end"): print('Hello world!') condition = (n != "end")

0

Python
2 months ago
print('Hello world!') def addic(A,B): H = A H[0] = H[0] + B[0] H[1] = H[1] + B[1] return H k = [[1,2],[3,4]] print(addic(k[0],k[1]))

O

Python
2 months ago
import random k = [ [ [ [n for n in range(28)] for _ in range(10)] for _ in range(10)] for _ in range(10)] A = [random.randint(0,9) for _ in range(3)] for name in range(1024):

O

C
3 months ago
#include <stdio.h> int main() { char k[] ="Hello world!\n"; int J = 0; while (J < 14) { printf("%c", k[J]); J++; }

O

Python
3 months ago
import random import time class Stopwatch: def __enter__(self): self.start = time.time() return self # ここで自分自身を返す def __exit__(self, exc_type, exc_value, traceback): self.end = time.time() self.interval = se

コンピュータくん

Python
3 months ago
import random k = [[[n for n in range(50)] for _ in range(8)] for _ in range(8)] A = random.randint(0,7) B = random.randint(0,7) K = [] for name in range(2048): C = random.randint(0,len(k[A][B])-1) if (k[A][B][C] == A*B): A = random