Y

@YSS

My

Python
6 months ago
print('Hello world!') def S(A, B, C): th3 = 0.0 for K in range(C): th1 = 0.1 ** K th4 = 0.0 while th4 < A:

素数でC++

C++
6 months ago
#include <iostream> int main() { for (int A = 1; A < 121; A++) { std::cout << A; if (A == 1) { std::cout << "→x" << std::endl; } else if (A % 2 == 0 && A != 2) { std::cout << "→x" << std::endl;

3

C
6 months ago
#include <stdio.h> int main() { double a = 0.0; double p = 0.0; double b = 0.0; double t = 1.0; for (int d = 1; d <= 10; d++) { b = 0.0; // ← これが必須

3

C
6 months ago
#include <stdio.h> int main() { int a = 0; S: a++; if (a < 4) { printf("%d",a); printf("\n"); goto S;

J

Python
6 months ago
import matplotlib.pyplot as plt イメージした声に近いかどうか = [4, 2, 3, 0, 3, 0, 6,3,1] 演技の上手さ = [3, 4, 5, 1, 6, 1,3,0,5] plt.scatter(イメージした声に近いかどうか, 演技の上手さ) plt.title("Scatter Plot") plt.show()

G

Python
6 months ago
import random g=[0,0,0,0] G=['⬛︎','◆','⬜︎','◇'] for c in range(16): K="" for _ in range(16): di1 = random.randint(0, 3) K = f"{K}{G[di1]}" g[di1] += 1 print(K)

T

Python
6 months ago
import matplotlib.pyplot as plt a = [0,1] b = [1,1] for _ in range(22): a.append(len(b)) if b[-1] % 2 == 0: p = b[-1]/2 elif b[-1] % 3 == 0:

G

Python
6 months ago
print('Hello world!') G=[1,2,1,3] for _ in range(len(G)-1): for X in range(len(G)-1): if G[X] < G[X+1]: PoNt = G[X] G[X] = G[X+1]

Python KK

Python
6 months ago
import math δ = math.log(2) JT = 160 #点数 JT = math.log(JT) JF = 20 #符 JF = math.log(JF) δ = 1/δ

T

C
6 months ago
#include <stdio.h> int main() { int t[]= { 0,1,2,3,4,5,6,7, 2,3,4,5,6,7,8, 4,5,6,7,8,9, 6,7,8,9,10, 8,9,10,11,

ここ2

Python
6 months ago
import random BE = ["I am","You are","am I","are you","I am not","You are not","am I not","are you not"] DO = ["I do","You do","do I","do you","don't I","don't you","I don't","You don't", "did I","did you","I did","you did","I did not","you d

Koko

Python
6 months ago
import random Et1=["ch","B","C","D","ck","F","G","H", "cs","J","K","L","M","N","pr","P", "Q","R","S","T","sp","V","W","st", "X","th","Z","tl","ts","wh","zh"," ",] Et2=["A","ae"," ","au ","a o", "E","ea","eu","eu ","e o", "I"

Y

Python
6 months ago
a=[1,1,4,5,1,4] A = 0 B = 0 for _ in range(len(a)): A = 0 while A < len(a): if a[_] > a[A]: B = a[_] a[_] = a[A] a[A] = B

T

C
6 months ago
#include <stdio.h> int main() { int n[5]; n[0] = 5; n[1] = 4; n[2] = 3; n[3] = 2; n[4] = 1; printf("%d",n[1]);

素数でFortran

Fortran
6 months ago
program main implicit none integer :: a integer :: r1,r2,r3,r4 do a = 1, 120 r1 = mod(a, 2) r2 = mod(a, 3) r3 = mod(a, 5) r4 = mod(a, 7) if ( a == 1) then

ペペンのペン

NodeJS
6 months ago
let a = 0; let b1,b2,b3; while (a < 49) { a++; b1 = a % 2; b2 = a % 3; b3 = a % 5; if (a === 1) {

Kot

Python
6 months ago
print('Hello world!') print('Hello world!') F={'A':'n', 'B':'o', 'C':'p', 'D':'q', 'E':'r', 'F':'s', 'G':'t', 'H':'u', 'I':'v', 'J':'w', 'K':'x', 'L':'y', 'M':'z', 'N':'a', 'O':'b', 'P':'c', 'Q':'d', 'R':'e', 'S':'f', 'T':'g',

素数でC#

C#
6 months ago
using System; namespace MyCompiler { class Program { public static void Main(string[] args) { for (int i = 1; i < 121; i++){ Console.Write(i); if ( i == 1){ Console.WriteLine("

ポポ

C#
6 months ago
using System; namespace MyCompiler { class Program { public static void Main(string[] args) { int k = 0; for (int i = 0; i < 100; i++){ Console.Write(k); Console.Write(":");

Poppo

TypeScript
6 months ago
let x = 1n; let n = 0; while (true) { x = x * x + 1n; n++; if (x.toString(2).length > 70000) { break; }