Блог пользователя ICPCNews

Автор ICPCNews, 4 года назад, По-английски

text

Dear friends!

We are thrilled to invite you to join us in this unique educational event to mark the beginning of ICPC competitive season and the academic year. Join us in JetBrains Knowledge Day on November 6!

Join now Live broadcast

You will learn firsthand tips from the JetBrains team about performance tuning in CLion and IntelliJ IDEA, the advantages of Kotlin for algorithmic problem-solving, the benefits of using our educational products, and much more! You’ll be able to ask the team all you’ve ever wanted to know about Kotlin, IDEs, and tools via chat or during the Q&A sessions with the presenters.

Buckle up for some great talks from eminent competitive programmers and industry experts:

  • 11:00 am – 11:30 am UTC — Welcome and Keynote (Roman Elizarov, Team Lead in Kotlin Language Research)
  • 11:30 am – 12:00 pm UTC — Train Hard, Code Easy: Best Practices for Competitive Coding with Kotlin (Mikhail Dvorkin, ICPC Gold Medal Winner)
  • 12:00 pm – 12:30 pm UTC — CLion, Because C++ Can Be Competitive (Phil Nash, Developer Advocate)
  • 12:30 pm – 1:00 pm UTC — Code Faster with IntelliJ IDEA (Helen Scott, Developer Advocate)
  • 1:00 pm – 1:30 pm UTC — Educational Products for Academia and Competitive Programming (Olga Telezhnaya, Developer at Educational Products)
  • 1:30 pm – 1:45 pm UTC — 10 Reasons Why Educators Choose Kotlin (Ksenia Shneyveys, Kotlin Manager for Education)
  • 1:45 pm – 2:00 pm UTC — Closing session
  • Проголосовать: нравится
  • +109
  • Проголосовать: не нравится

»
4 года назад, # |
Rev. 2   Проголосовать: нравится -33 Проголосовать: не нравится

[Deleted]

Sorry about my previous comment.

»
4 года назад, # |
  Проголосовать: нравится +48 Проголосовать: не нравится

Hello form Visual Studio Code.

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Kotlin is being nicely promoted for CP, but can anyone who does use it for CP tell us how it is ?

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +11 Проголосовать: не нравится

    It's nicer to code in than java without drawbacks. You can get code similarly as nice as python. Of course, it's also only as fast as java so it won't be taking c++ anyday

»
4 года назад, # |
  Проголосовать: нравится +13 Проголосовать: не нравится

Title makes me confused

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

How to swap 2 adjacent characters of a string in kotlin ?

For example in cpp : swap(s[i],s[i-1])
  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +3 Проголосовать: не нравится

    string is immutable in kotlin/java so you can convert string to charArray:-
    val s = str.toCharArary()


    To Swap :-
    s[i] = s[i-1].also{s[i-1] = s[i]}