Y

@YSS

my

Deno
3 months ago
function name(A,B) { var th = [0.0,1.0,0.0,0.0,0.0,0.0]; while (th[0] < B) { th[4] = 0.0; while (th[4] < A) { th[2] = th[3]; th[3] += th[1]; th[4] = th[3] * th[3]; } th[3] =

my

Swift
3 months ago
func S(A: Double,B: Double) -> Double { var C = [0,1.0,0,0,0] while (C[0] < B){ C[4] = 0 while (C[4] < A){ C[2] = C[3] C[3] += C[1] C[4] = C[3]*C[3] } C[3] = C[2]

P

Python
3 months ago
class Name:#クラス様万歳クラス様万歳クラス様万歳クラス様万歳 def __init__(self, params): self.params = params #あークラス関数の匂い~~~~~~ def P(self): return self.params + 1 def Re(self, params): if params == None: print(self.chat)

My

Go
3 months ago
package main import "fmt" func S(A int, B int) float64 { C := [4]float64{1.0, 0.0, 0.0, 0.0} for i := 0; i < B; i++ { C[3] = 0 for ; ; { C[1] = C[2]

A

C
3 months ago
#include <stdio.h> int p(int A,int B) { return (A*B)-A-B; } int main() { printf("Hello world!\n"); printf("%d\n",p(3,2)); return 0; }

P

Python
3 months ago
def name(A,B): return (A*B)-A-B print(name(3,5)) print(name(2,3)) print(name(5,2))

P

Python
3 months ago
import random A = random.randint(0,10) k = (x for x in range(10)) for num in k: print(num) if num == A: break

O

Python
3 months ago
class Loop: O = 0 def __enter__(self): return self def __exit__(self, exc_type, exc_val, exc_tb): if Loop.O < 26: Loop.O += 1 print(Loop.O, end=" ")

Aho

Java
3 months ago
import java.util.*; import java.lang.*; import java.io.*; // The main method must be in a class named "Main". class Aho { private String name; private int age; public Aho(String name, int age) { this.name = name;

o

Python
3 months ago
def A(params): G = "" H = { ".":"███","A":"██⬛︎","B":"██⬜︎", "C":"█⬛︎█","D":"█⬛︎⬛︎","E":"█⬛︎⬜︎", "F":"█⬜︎█","G":"█⬜︎⬛︎","H":"█⬜︎⬜︎", "I":"⬛︎██","J":"⬛︎█⬛︎","K":"⬛︎█⬜︎",

素数でTS

TypeScript
3 months ago
let P = 1; while (P < 121) { if (P == 1) { console.log(P+"->x"); } else if (P % 2 == 0 && P != 2) { console.log(P+"->x"); } else if (P % 3 == 0 && P != 3) { console.log(P+"->x"); } else if (P % 5 == 0 && P !=

P

C
3 months ago
#include <stdio.h> int main() { int A[] = {0,0}; goto goght; gote: printf("%d ",*(A+0)); goto M; goght: printf("Hello world!\n");

my

Perl
3 months ago
sub S { my ($A, $B) = @_; my @th1 = (1,0,0,0); for (my $i = 0; $i < $B; $i++) { $th1[3] = 0; while ($th1[3] < $A) { $th1[1] = $th1[2]; $th1[2] = $th1[2] + $th1[0]; $th1[3] = $th1[2] * $

O

Python
3 months ago
A = [3,2,9,9,7] for name in range(len(A)): for O in range(len(A)-1): if A[O] > A[O+1]: A[O],A[O+1] = A[O+1],A[O] print(A)

A_linear_equation

C
3 months ago
#include <stdio.h> double A_linear_equation(int A,int B){ double x = 0.0; x = (-B)/A; return x; } int main() {

my

Fortran
3 months ago
function S(a,b) real(8) :: S integer :: a,b integer :: c1 = 0 real(8) :: c2=1.0,c3=0.0,c4=0.0,c5=0.0 do while (c1 < b) c5 = 0 do while (c5 < a) c3 = c4 c4 = c4 + c2

O

Python
3 months ago
def T(x): for _ in range(len(x)): for o in range(len(x)-1): if x[o] > x[o+1]: x[o],x[o+1] = x[o+1],x[o] return x def U(x): for n in range(len(x)): for o in range(len(x)-1): if x[n]

K

Python
3 months ago
while True: user = input("You: ") if user == "0": break print(user)

p

C
4 months ago
#include <stdio.h> int main() { char buffer[100]; fgets(buffer, sizeof(buffer), stdin); printf("入力された文字列: %s\n", buffer); fgets(buffer, sizeof(buffer), stdin); printf("入力された文字列: %s\n", buffer); return 0; }

Python
4 months ago
import os # ファイルが存在するか確認 def create(params): with open(params, 'w', encoding='utf-8') as file: pass