Day 1: Data Types Objective Today, we're discussing data types. Check out the Tutorial tab for learning materials and an instructional video!Task Complete the code in the editor below. The variables , , and are already declared and initialized for you. You must:Declare variables: one of type int, one of type double, and one of type String.Read lines of input from stdin (according to the sequence given in the Inpu.. 더보기 Level 1 - 약수의 합 어떤 수를 입력받아 그 수의 약수를 모두 더한 수 sumDivisor 함수를 완성해 보세요. 예를 들어 12가 입력된다면 12의 약수는 [1, 2, 3, 4, 6, 12]가 되고, 총 합은 28이 되므로 28을 반환해 주면 됩니다. 풀이 class SumDivisor {public int sumDivisor(int num) {int answer = 0; for (int i = 1; i 더보기 TableView 관련 2 코드 상의 주석으로 기록해둠 스토리보드 상에서 identifier를 잘 넣어두고, autoLayout에 constraint를 꼭 넣어줄 것 import UIKit class MainViewController: UIViewController, UITableViewDataSource, UITableViewDelegate { @IBOutlet weak var mainMenuTableView: UITableView! let sampleData = SampleData() override func viewDidLoad() { super.viewDidLoad() mainMenuTableView.delegate = self // controller 에 tableview 뷰를 보여주게 함 mainMenuTableView.. 더보기 이전 1 ··· 40 41 42 43 44 45 46 ··· 53 다음