ICPCNews's blog

By ICPCNews, 4 years ago, In English

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
  • Vote: I like it
  • +109
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
Rev. 2   Vote: I like it -33 Vote: I do not like it

[Deleted]

Sorry about my previous comment.

»
4 years ago, # |
  Vote: I like it +48 Vote: I do not like it

Hello form Visual Studio Code.

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

  • »
    »
    4 years ago, # ^ |
      Vote: I like it +11 Vote: I do not like it

    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 years ago, # |
  Vote: I like it +13 Vote: I do not like it

Title makes me confused

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

For example in cpp : swap(s[i],s[i-1])
  • »
    »
    4 years ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    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]}