When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

T1duS's blog

By T1duS, history, 5 years ago, In English

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?

  • Vote: I like it
  • +96
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it -50 Vote: I do not like it

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

»
5 years ago, # |
  Vote: I like it +47 Vote: I do not like it

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...

  • »
    »
    15 months ago, # ^ |
      Vote: I like it +6 Vote: I do not like it

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

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

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

    Wow! 28th place in Grand Contest with mobile. That's just amazing, I think better than some America's Got Talent semi-finalists :)

    You are real talent!

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

    which mobile device did you used?

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

      I used KIWI k5. I think most people don't konw this mobile...

      The screen is small and it contain only 0.5G memory.

»
5 years ago, # |
  Vote: I like it +13 Vote: I do not like it

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

»
5 years ago, # |
  Vote: I like it +43 Vote: I do not like it

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

»
5 years ago, # |
  Vote: I like it +58 Vote: I do not like it

Just Indian things.

»
5 years ago, # |
Rev. 3   Vote: I like it +8 Vote: I do not like it

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

Buy new laptop

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

tttayushag10004 help please.

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

    It can be frustrating initially, but after some submissions, you will love it.

»
5 years ago, # |
  Vote: I like it +141 Vote: I do not like it

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

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

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

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

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

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

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

    I don't have offline friends

    • »
      »
      »
      5 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      While you are "a friend of 562 users" on Codeforces XD

    • »
      »
      »
      5 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Then you're asking the wrong question.

»
5 years ago, # |
Rev. 2   Vote: I like it -32 Vote: I do not like it

.

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

    Since he is an Indian, I guess they will kill him if he did that.

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

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.

»
15 months ago, # |
  Vote: I like it -31 Vote: I do not like it

12 exams are more important bro

  • »
    »
    15 months ago, # ^ |
      Vote: I like it +66 Vote: I do not like it

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

»
15 months ago, # |
  Vote: I like it -19 Vote: I do not like it

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