분류 전체보기(293)
-
프로그래머스 C# 두 수의 차, 두 수의 곱, 나머지 구하기
using System; public class Solution { public int solution(int num1, int num2) { if (num1 50000 || num2 50000) { throw new Exception("invalid param"); } return num1 - num2; } } //////////// def solution(num1:int, num2:int)->int: answer = num1 + num2 return answer 자바 class Solution { public int solution(int num1, int num2) { int answer = num1 - num2; return answer; } } 두 수의 곱 - C# using System; pu..
2023.03.28 -
백준 3003번 JAVA, C# (킹, 퀸, 룩, 비숍, 나이트, 폰)
C# using System; namespace Baekjoon { class Program { static void Main() { string s = Console.ReadLine(); string[] ss = s.Split(); int a = int.Parse(ss[0]); int b = int.Parse(ss[1]); int c = int.Parse(ss[2]); int d = int.Parse(ss[3]); int e = int.Parse(ss[4]); int f = int.Parse(ss[5]); Console.WriteLine(1-a); Console.WriteLine(1-b); Console.WriteLine(2-c); Console.WriteLine(2-d); Console.WriteLi..
2023.03.27 -
프렌즈 시즌1 5화
5화에서 발음을 영상 속도에 맞게 따라하기 조금 어려운 대사 The way guys can do so many mean things, and then not even care. - (내가 이해 못하는 건) 남자들이 그렇게 많은 못된 짓들을 할 수 있다는 거야. 그러고는 신경도 안쓰지. There’s the horrible awkward moment when you’ve handed her the note. - 그녀에게 그 쪽지를 건넸을 때 끔찍하고 어색한 순간이 있지. Oh, thanks but I think she’d feel like we’re ganging up on her. - 오 고마워 하지만 그녀가 우리가 그녀를 집단 공격하고 있다고 느낄 거 같아. Oh, yeah, yeah. ..
2023.03.26 -
프렌즈 시즌1 4화
4화에서 조금 따라하기/외우기 어려운 대사를 가져왔다. So they’re constantly, like, having to reassure each other that they’re having a good time. - 그래서 두 분은 그분들이 좋은 시간을 보내고 있단 걸 끊임없이 서로에게 안심시켜 주고 있어야 했어. Well, if you want, you can stay with Rachel and me tonight. - 뭐 네가 원한다면 너 오늘밤은 나랑 레이첼과 함께 있어도 돼. So, I’m guessing (that) you had an extra ticket and couldn’t decide which one of you got to bring a date? - 그래서 난 너희..
2023.03.14 -
프렌즈 시즌1 3화
3화에서 조금 외우기, 발음 따라하기 어려운 대사를 모았다. Or you’re such a nice guy means I’m gonna be dating leather-wearing alcoholics and complaining about them to you. - 혹은 당신은 너무 좋은 사람이예요는 난 가죽옷 입은 알코올 중독자들과 데이트할 것이고 그들에 대한 불평을 너에게 할 거라는 의미지.(즐기는 건 노는 애들이랑 하고 재미없는 너한테 불평을 할 거다.) Yeah, it’s like when you’re a kid, and your parents put your dog to sleep, - 그래. 니가 어릴 때 네 부모님이 너의 개를 안락사 시키곤 And they tell you it we..
2023.03.12 -
백준 18108번 1998년생인 내가 태국에서는 2541년생?! C#(JAVA)
자바 using System; namespace Baekjoon { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); Console.WriteLine(a-543); } } } ////////////// C# import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); System.out.println(a - 543); } }
2023.03.10