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

Автор T1duS, история, 5 лет назад, По-английски

My parents took away my laptop cuz of my school exams for the next 2 months. How should I do go about doing CP from mobile?

  • Проголосовать: нравится
  • +96
  • Проголосовать: не нравится

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

I really think you should study for your exams...

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

No... Just no... Please don't use mobile to do CP... Maybe go to an Internet cafe or use the school's computers. No way to do CP on mobile... no way...

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

    I did it once in 10th grade, and not just on smartphone but a flip phone. You just type on the keyboard and it compiles!

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

Maybe you can learn about some new algorithms/ideas. Just dont implement them :p. Btw I once submitted a problem using phone while travelling. There are some keyboard apps for programming. Though they are of little help.

»
5 лет назад, # |
Rev. 3   Проголосовать: нравится +193 Проголосовать: не нравится

When I do my military service, I cannot use my computer. I can only use mobile. So in these days, I usually use mobile for participate programming contest.

For example, I use mobile to participate Atcoder Grand Contest. You can see my submissions in following link: https://atcoder.jp/contests/agc003/submissions?f.User=dreamoon. You can see I use only one space for indent because It's waste much time to use one tab for it.

When I compete by mobile, I type codes on online editor ideone and when I want to submit, just copy it into judge.

Good luck to you.

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

Give your mobile to them in exchange for laptop. :P

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

Waiting for next post "How to do CP without laptop and mobile." %)

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

Just Indian things.

»
5 лет назад, # |
Rev. 3   Проголосовать: нравится +8 Проголосовать: не нравится

Here's how:

  1. Download a compiler that works offline (This allows you to take input from a file) like Cxxdroid or Cppdroid. I prefer the former because the auto indent in Cppdroid doesn't work. But the drawback of Cxxdroid is that it has no header file named bits/stdc++.h . So, I have to use a bigger template and no pbds either.

  2. For input from a file you can make a file like input.txt in your file manager and use freopen to take input from that.

  3. For performing mathematical computations, download a python interpreter app like pydroid. I use it to compute square roots, logs etc. while checking whether the algorithm I have developed will fit into the time limit or not.

  4. Download an app like paint that you can use as a notebook if you're not having access to a notebook.

This is almost all that you need.

But beware you might get frustrated because of the slower typing speed on mobile. So, never do competitions on a phone. Only practice.

P.S.: I don't like my boring university lectures, so I sit at the last bench and code during the lectures on my mobile in some of the lectures.

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

Buy new laptop

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

tttayushag10004 help please.

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

Hardware tip: if you happen to have an external keyboard, you may consider plugging it in to your smartphone. Some USB adapters may come in handy here.

Source: I just tested this setup and wrote this comment on Android phone using my USB keyboard.

(You may use any Bluetooth keyboard as well.)

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

In desperate times, CF custom invocation is not bad :|

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

You can just use codeforces custom test to compile your code. That's exactly what I've done in AtCoder Educational DP Contest. I solved 19 tasks :D

https://atcoder.jp/contests/dp

Btw, codes look cool without tabs.

https://atcoder.jp/contests/dp/submissions/3949352

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

your exams are way more important than codeforces. and also lately all contests have been terrible so i think you should move on from codeforces and not only you, the quality is degrading

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

This might be a good time to organise 'group study sessions' at a friend's house xD

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

.

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

I believe you can buy a keyboard that connects to your mobile and there are applications on your application store for any programming language.

It's quite possible.

»
16 месяцев назад, # |
  Проголосовать: нравится -31 Проголосовать: не нравится

12 exams are more important bro

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

    This guy is in second year of university now. Also this post is literally 4 years ago. Get off drugs, man.

»
16 месяцев назад, # |
  Проголосовать: нравится -19 Проголосовать: не нравится

show your parents that u are addicted to phone.they will take your phone :)