• 관리
  • 글쓰기
  • 로그인
  • 로그아웃

Teo's develop drawer

  • 홈
  • 태그
  • 방명록
  • GitHub
  • 백준

공지사항

프로필

Teo's develop  drawer

Backend developer - Teo

카테고리

  • 분류 전체보기 (86)
    • Linux (5)
      • 라즈베리파이 (4)
    • Network (1)
    • Server (0)
    • spring (7)
    • Design Patterns (0)
    • Java (1)
      • Selenium (0)
    • Algorithm, Problem Solving (62)
      • 백준(boj) (45)
      • 프로그래머스 (6)
      • codeforces (11)
      • 이론 (0)
    • Kotlin (2)
    • Docker (2)
    • Gradle (1)
    • 오류해결 (1)
    • 기타 (1)

최근 글

인기 글

방문자 통계

오늘 :

어제 :

mutable1

  • [Kotlin] for문 안에서 인덱스 조정 에러, 해결법 코를린으로 간단한 for 반복문 코드를 짜다가 에러가 발생했다. 더보기 val cannot be reassigned 필자) 문제가 발생한 부분 for (i in 0 until n) { if( condition ) { answer[i] = start + i i++ //val cannot be reassigned 에러 발생 } } 다른 유저) https://stackoverflow.com/questions/63323769/how-to-increment-a-val-in-for-loop-in-kotlin-when-a-statement-is-true Kotlin 2023. 3. 22.
이전 1 다음
TOP




티스토리툴바