일본성우 (2) 썸네일형 리스트형 나무막대) 아츠기 나나미의 "踊ってみた, HEROINE 育成計画" #include #include #include #include using namespace std; pair stick[5000]; int arr[5000]; int main(void) { int testcase; cin >> testcase; for (int i = 0; i > number; for (int j = 0; j > stick[j].first >> stick[j].second; sort(stick, stick + number); int many = 0; int isFull = 0; for (int k=0 ; k < number; k++) { if (arr[k] == 0) { int qijun.. 코틀린 1일차 fun main(args: Array) println("hello, world") } fun max(a:Int, b:Int): Int { return if (a>b) a else b } println(max(1,2)) == fun max(a:Int, b:Int) = if(a>b) a else b enum class Color(var r: Int, var g:Int, var b:Int) { BLUE(0, 0, 255); fun rgb()=(r*256+g)*256 + b } println(Color.BLUE.rgb()) fun getMNemonic(color:Color) = wehn(color) { Color.BLUE, Color.Red -> "Batlle" } println(getMNemonic(Color.. 이전 1 다음