1

@1skdssae

피타고라스 수!!! (O(N³)) but 온리 홀수

C#
9 hours ago
using System; namespace MyCompiler { class Program { public static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); for (int i = 1; i <= a; i++) { for (int j = i; j <= a; j++) {

진자어이업느각도구하기

C#
17 hours ago
using System; namespace MyCompiler { class Program { public static int innerSum(int n) { return (n-2)*180; } public static int inner(int n) { return (n-2)*180/n; }

팩토리얼굳이dp처럼풀기

C#
1 day ago
using System; using System.Collections; namespace MyCompiler { class Program { public static void Main(string[] args) { ArrayList Memo = new ArrayList(); int n = Console.ReadLine(); ArrayList.Add(1);

비에서 x 구하기

C#
2 days ago
using System; namespace MyCompiler { class Program { public static void Main(string[] args) { Console.WriteLine("x : n1 = n2 : n3"); int[] numbers = new int[3]; int x = 0; for

피타고라스 수!!! (O(N³))

C#
3 days ago
using System; namespace MyCompiler { class Program { public static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); for (int i = 1; i <= a; i++) { for (int j = i; j <= a; j++) {

한글 씨플플

C++
2 months ago
#include <iostream> #define 사용하는 using #define 이름공백 namespace #define 기본적인도서관 std 사용하는 이름공백 기본적인도서관; #define 정수 int #define 무효의 void #define 씨입력 cin #define 씨출력 cout #define 되돌리다 return

JavaClassTest

Java
3 months ago
import java.util.*; class Killer { String name; int cost; void purchase(){ System.out.println("You bought " + name + " (" + cost + " points used)"); } }

똥적계획법 바텀엄 (for문 아 브로😭😭)

C++
6 months ago
#include <iostream> using namespace std; int main() { int N; cin >> N; long long int fib[101]; fib[0] = 0; fib[1] = 1;

똥적계획법 탑다운 (메모이제이션 아 브로😭😭)

C++
6 months ago
#include <iostream> using namespace std; long long int memo[101]; long long int fib(int n) { if (n <= 1) return n; if (memo[n] != 0) return memo[n]; memo[n] = (fib(n-2) + fib(n-1)); return memo[n]; }

이진 탐색 아 브로 😭😭😭💀💀💀☠️☠️☠️💩💩💩🙈🙈🙈🐻‍❄️🐻‍❄️🐻‍❄️👅👅👅🧑‍🎓🧑‍🎓🧑‍🎓🍕🍕🍕🍔🍔🍔🍠🍠🍠💔💔

C++
9 months ago
#include <iostream> #include <algorithm> #include <vector> using namespace std; int BinarySearch(vector<int> &v, int M, int search, int tried) { printf("%d \n", tried); if (tried < (v.size()+1)/2) { printf("스위스에서 오셔서 산새들이 속삭이는 산림 숲속