SecondThread's blog

By SecondThread, history, 2 years ago, In English

Meta Hacker Cup Qualification Round

Good morning! The Meta Hacker Cup Qualification Round starts on Friday, August 26th in under 48 hours! If you haven’t yet, be sure to register on the Meta Coding Contests page.

Important info:

  • In order to qualify for Round 1, you’ll need to solve at least one problem in this round.
  • Once you've registered, you may wish to confirm that the information in your competition profile is up to date, including your display handle and which country you’d like to represent.
  • In Hacker Cup, you run your own submissions on your computer, and upload your source code and the output of your source code to be graded. You’ll have 6 minutes to run your code locally and upload your solution, and whether you got the problem correct will be revealed at the end of the contest. Check out the FAQ for more details.

As a reminder, unlike some other multi-round coding contests, you may not share ideas or solutions about the problems with anyone until after the round has ended. We will be disqualifying contestants we believe to have participated illegitimately or shared their solutions or ideas online in any form before the end of the contest.

As usual, the 2022 season will have some great prizes, including 2,000 t-shirts, and cash prizes for all 25 finalists, including a $20,000 grand prize.

We’ve put a lot of work into these problems, and we hope you enjoy the contest. Good luck, and see you on the scoreboard!

Update: Editorial

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

| Write comment?
»
2 years ago, # |
  Vote: I like it +17 Vote: I do not like it

Hi,

What is the criteria for a t-shirt this year?

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

    From Link :

    What prizes can I win?
    The top 2,000 competitors who solve at least one problem in Round 2 will receive a Meta Hacker Cup T-shirt. The top 200 competitors from Round 3 will have a "Top 200" badge on their shirt.

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

    What a difference if it doesn't guarantee that you will get it

»
2 years ago, # |
  Vote: I like it -9 Vote: I do not like it

It may be obvious but the official submission can be done only once per problem.

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

    You may submit as many times as you want, but you only have a 6 minute window to submit your solution. You won't be told whether your submission is correct or not after submitting it until the end of the contest.

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

      ohhh shit Means there is no way to check that our submission is accepted or not

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

        You'll be given a small "validation" test before you can make the real submission. Think of it as pretests.

        Also, when in doubt, stress-testing may help.

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

      Brother it is reset in every 6 min ??

»
2 years ago, # |
  Vote: I like it +64 Vote: I do not like it

Friendly reminder to check and increase your compiler's stack size for this contest.

From the FAQ
  • »
    »
    2 years ago, # ^ |
      Vote: I like it +100 Vote: I do not like it

    To whom it may concern: my workaround (linux, C++) is to add #include <sys/resource.h> to the list of includes and also add

    struct rlimit rl;
    const rlim_t kStackSize = 512L * 1024L * 1024L;
    assert(!getrlimit(RLIMIT_STACK, &rl));
    rl.rlim_cur = kStackSize;
    assert(!setrlimit(RLIMIT_STACK, &rl));
    

    to the beginning of main(). One may probably want to replace 512L with something smaller.

    People also say that on Linux it is sufficient to run ulimit -s unlimited, on MacOS it should work to add -Wl,-stack_size=0x10000000 to the compile line (or probably for any clang distribution?), for windows it seems that adding -Wl,--stack,SIZE to the compile line does the trick, or even adding #pragma comment(linker, "/STACK:268435456"); at the beginning of the file (afair, visual studio only). I didn't check all of this by myself, but it will probably be better if this is collected in one comment.

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

      Note that on WSL1, ulimit -s unlimited won't work.

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

Do I need to have a Facebook account to participate?

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

    Yes

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

      hey second thread , as my facebook account is getting suspended again and again even though I had created it one month ago and I am not even using it . If that happens on the same day of the contest is there some other way to login in hackercup ?

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

        Hi, unfortunately there's no way to log in without a facebook account at least this year. I'm working with some of the people who manage accounts getting disabled in order to try to shield current/previous hacker cup participants' accounts from being marked as spam, but we might not be able to figure it out by tomorrow.

        If during the contest your account gets disabled and you have no way of getting access to it, you can email your solutions to [email protected] and we'll upload them manually for you and try to get your account re-enabled by round 1.

        • »
          »
          »
          »
          »
          2 years ago, # ^ |
          Rev. 3   Vote: I like it +29 Vote: I do not like it

          quagmire and others: If your Facebook account was disabled because you only use it for Hacker Cup and not as a social network, please send me a DM over Codeforces with the following:

          1. Your email address associated with your facebook account
          2. A link to your facebook profile, if you have it.

          You might have to verify your identity if our AI thinks your account looks like a bot, but once you do, that should fix the problem at least for the foreseeable future.

»
2 years ago, # |
  Vote: I like it +27 Vote: I do not like it

Still haven't received a T-shirt from last year

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

How to see validation input file. When i download it that is in .html file which doesn't show anything like Input how can I see that? Please help someone.

»
2 years ago, # |
  Vote: I like it +104 Vote: I do not like it

Do you guys by any chance plan to switch to more modern submission system in the near future?

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

    Seconding this, but admittedly for incredibly selfish reasons XD.

    im on a school chromebook and i cant download any software or whatever; none of the online ides i found were actually able to run (or even load) large inputs.

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

    Not in the 2022 season, but we're looking into doing it for next year.

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

      That's actually really nice to hear. I'll look forward to it :)

    • »
      »
      »
      2 years ago, # ^ |
        Vote: I like it -17 Vote: I do not like it

      Noo, please keep the unique format...

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

        By "unique format" do you mean the heavily outdated format that literally no other competitions want to use to my knowledge for reasons we're experiencing at every single FBHC/MHC?

        • »
          »
          »
          »
          »
          2 years ago, # ^ |
            Vote: I like it -19 Vote: I do not like it

          You mean the same format that GCJ used for ten years without any major problems?

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

            I didn't know about CP at that time so that still is out of my knowledge. Regardless, I'm guessing that they switched to the current format for a reason as well?

            • »
              »
              »
              »
              »
              »
              »
              2 years ago, # ^ |
                Vote: I like it -76 Vote: I do not like it

              This is a lot of reds.

              • »
                »
                »
                »
                »
                »
                »
                »
                2 years ago, # ^ |
                  Vote: I like it -13 Vote: I do not like it

                I didn't realize recognizing red coders implied so many downvotes...

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  2 years ago, # ^ |
                    Vote: I like it -18 Vote: I do not like it

                  I didn't realize recognizing I recognized red coders implied so many downvotes...

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  2 years ago, # ^ |
                    Vote: I like it -9 Vote: I do not like it

                  This is a lot of downvotes.

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

              There probably was a reason, but I don't know it. Maybe they desperately wanted to give interactive problems or to make some major changes for the sake of major changes, I can only guess. Even if they had some valid reasons to switch to the boring standard, it doesn't cancel the fact that they used this format for 10 years, and people seemed to like it.

        • »
          »
          »
          »
          »
          2 years ago, # ^ |
            Vote: I like it -27 Vote: I do not like it

          Any format can be implemented well or poorly. That is a property of the contest system, not the contest format. There's no reason to expect that things would be better if Facebook was using the "submit code, code runs on server" model.

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

      I want to defend the current format. It is great! Please don't remove it.

      This format allows to use any language and tool of your choice. With online judging, there will be at most 5-10 languages, and people will always complain about a compiler being already half a year old. And you will not be able to use any tool to e. g. debug your solution after it crashes, or make a quick fix after you realise there's a mistake somewhere.

      Also, online judging will most probably have the queue issue once in a while. It always comes unexpectedly, especially on judges that hold only a few contests per year, GCJ being an example.

      However the most important advantage in the current system, in my opinion, is that it requires a contestant to bridge the gap between developing code and running it. I know some people who are pretty good at algorithms, but they've never run their code outside of an IDE and do not know how to get an executable. I think it's an important yet not too hard a skill to actually be able to make your code do something useful on your computer, rather than submitting it to a judge that does magic and returns the verdict. One also gets to know the real-world aspects of running a program: you get TL not because something that people call complexity (which can be a magic word for newbies) is too large, but because your code actually runs slow. You can't allocate 100 GB of memory not because of stupid limits in the problem, but because you really don't have that much. And so on with some other less important details.

      There's definitely an issue that people also want to compete from mobile devices (tablets, mobile phones, chromebooks, etc) instead of a proper computer. I'm very skeptical about that, you don't do pole jumping without a pole. However if we really want to include them, as a compromise maybe we can have a hybrid system? With a much stricter limits in server-side runs, obviously, given that it doesn't really matter in first rounds.

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

        It is possible to participate from a tablet, by the way

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

        Their code outside of an IDE and do not know how to get an executable

        While I do know how to create an executable, it is definitely possible (even for Hackercup) and much easier to run the code from an IDE during a contest. So, I don't see how continuing with this format forces anyone to learn how to create 'something useful' rather than just use file I/O or copy a build file for their favorite IDE that pipes stdin and stdout.

        There's definitely an issue that people also want to compete from mobile devices (tablets, mobile phones, chromebooks, etc) instead of a proper computer. I'm very skeptical about that, you don't do pole jumping without a pole.

        Ahh, the stink of privilege. So, in your opinion, society should try to reward athletes with more resources than those more talented/hardworking? (This is effectively what you are suggesting given that other online judges reduce the gap between those programming from mobile devices and those from a 'proper computer.')

        Not everyone has equal resources even when using a 'proper computer', in terms of computing power, RAM, etc. Even running the intended program on large inputs can slow down/ crash a computer (it happened to me 2 years back). I have since then been lucky enough to upgrade the hardware, but I suspect many people don't have the same access to resources.

        It doesn't make sense to unnecessarily make the field uneven when there exist working solutions for the issue. Especially when they can't be bothered to test whether their server can even handle the large output files

        I do like your suggestion for the possibility of a hybrid setup (to allow programmers to use whatever local tools they'd like or get the benefits of a normal online judge) — but given their incompetence in managing a single system, it seems very likely to me that they will screw this up and somehow have a worse judging system.

        • »
          »
          »
          »
          »
          2 years ago, # ^ |
            Vote: I like it -7 Vote: I do not like it

          Well if it's easier for you to run code from IDE, it's fine. You still learned how to put together your code and some arbitrary data larger than a few example lines to get some output. You've probably also learned what kind of compilation settings you need to plug in to make your code run at suitable speed, etc.

          I think there are all kinds of competitions and it's ok that some of them require some tools to be used. It's not like FBHC is the only programming competition a person can take part in.

          Especially when they can't be bothered to test whether their server can even handle the large output files

          I think getting a proper judge running untrusted code is a bit more difficult task than just handle a large file with a checker, so I'm not sure which is better given that they have limited resources.

        • »
          »
          »
          »
          »
          2 years ago, # ^ |
            Vote: I like it -57 Vote: I do not like it

          While I do know how to create an executable, it is definitely possible (even for Hackercup) and much easier to run the code from an IDE during a contest. So, I don't see how continuing with this format forces anyone to learn how to create 'something useful' rather than just use file I/O or copy a build file for their favorite IDE that pipes stdin and stdout.

          Well, there are people who really can't produce a large output file from a large input file and need to learn that. If you think that anyone can do it and it is trivial, search for comments like "how to get file input in vs code" and "how to increase stack size in sublime text" from this very thread.

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

            If there are people who can't produce a large output file from a large input file, I doubt Hackercup is a place to learn that. I was on a very crappy laptop last year and that cost me in one of the rounds. Having a submit system like GCJ will not hurt anyone.

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

        Theory:

        you get TL not because something that people call complexity (which can be a magic word for newbies) is too large, but because your code actually runs slow.

        Reality:

        you get TL not because something that people call complexity (which can be a magic word for newbies) is too large, but because you come from a low income familiy and compete on a slow hand-me-down laptop from 2013.

        • »
          »
          »
          »
          »
          2 years ago, # ^ |
            Vote: I like it -24 Vote: I do not like it

          That's why we have a generous 6 minute window, while correct solutions run in a few seconds. Yes, some computers are a bit faster than others, but the difference is not that big. I haven't heard about anyone with an intended solution complaining that the code took too long to run.

        • »
          »
          »
          »
          »
          2 years ago, # ^ |
            Vote: I like it -25 Vote: I do not like it

          You can use AWS/Google cloud/etc. You can even run tests in parallel on a cluster of free tier micro instances (in case of AWS).

          Yeah, it's easier with one good computer/one good cloud instance, but you can actually get a decent setup for free. It is a programming competition afterwards.

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

          More like:

          Theory: you can't solve the problem in time not because of something people call complexity but because your code actually runs slow.

          Reality: you can't solve the problem in time because with your very average internet service plan you can't upload a 34MB output file in the 20s window before the client apparently times out.

          • »
            »
            »
            »
            »
            »
            2 years ago, # ^ |
              Vote: I like it -63 Vote: I do not like it

            More like:

            Theory:

            you can't solve the problem in time not because of something people call complexity but because your code actually runs slow.

            Reality:

            you get nothing because you don't know how to increase file input stack size in sublime code

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

        One of the big benefits of the FHC format is that as long as the program is fast enough, you're good. The 6 minute time limit ensures that there is more emphasis on finding the right algorithm and getting the implementation in the ballpark and less on brainless optimization. I can just bang out a short and neat program instead of wasting time replacing stuff with gp_hash_table or thinking about how to stop creating so many vectors. I've definitely used this to my advantage; some of my solutions take 30+ seconds to run and 10+ seconds on a single case. I think it's very nice and I appreciate putting more emphasis on brain and less on implementation.

      • »
        »
        »
        »
        2 years ago, # ^ |
        Rev. 4   Vote: I like it +98 Vote: I do not like it

        This discussion is going nowhere--it's essentially devolved into the two sides disagreeing on whether there are some people with slower computers who cannot run their correct code within six minutes and thus are excluded from the competition, but nobody has provided clear evidence for or against this claim. (There are some other ways in which this system may be marginally unfair, but this clearly would be the most significant problem with the existing grading system.)

        A few thoughts on this:

        1: I agree that requiring contestants to deal with very large output files (i.e., more than a couple megabytes) is not good and that there do exist competitors who are unable to submit such problems because they don't have access to fast enough internet connections. These problems should be excluded or reformatted in ways that will reduce the size of the output.

        2: There are a number of people downvoting every post claiming that even people with slow computers can run their (correct) code within six minutes. Can one of those users please provide a concrete example of a time when you or someone else missed a problem because your computer was too slow to run your code, which had the intended asymptotic complexity and a not-absurdly-bad constant factor, in six minutes? Examples where your code ran fast enough but uploading the output took too long don't count (since I'm already convinced that the large output sizes are an issue and need to change, which could be done without changing the grading system entirely). Obviously, if your example relates to the current round, please wait to post it until after the contest ends tomorrow.

        I'm not using this as a rhetorical question to claim that such an example does not exist--I'm genuinely curious whether this is something that could happen (since it would imply that some competitors are competing on hardware that's at least ~30x slower than what a typical successful competitor uses). I think giving such an example would be a much better way to prove that the system would change than downvoting every post claiming that these examples don't exist.

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

          This happened with me (I think 2-3 years back) in FBHC. It was not the case that my solution was asymptotically worse than the intended solution. I was considerably weaker then so it could be possible that my program had a bad constant factor that I wasn't aware of — but I ran some of the solutions of the top programmers after the contest and they hung up my pc too. I don't think that the hardware necessarily has to be 30x slower — the program just has to hog up enough resources to make the pc crash.

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

            Thanks for the reply! Is there any chance you'd be willing to share an example of one of the submissions you're referring to? It'd be interesting to see how resource-intensive such a solution might be.

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

          Would like to second your first point. Just failed to submit the output file to the last problem in the Qualification round. The file size is 37MB. I don't think my connection is much poor, and I'd expect it to take around 10-15secs to upload the complete file. But FB was failing for some reason (maybe a timeout or a cap on the upload size to my best guess). I kept trying throughout the whole submit window, but it just wouldn't accept the file. Things should be much worse if someone had a terrible network connection, which is common in my country. 6 minutes wouldn't be nearly enough time to upload ~40MB, considering you also need to unzip and produce the output, and possibly need to try multiple times in case the upload breaks for some reason.

          Spoiler
          • »
            »
            »
            »
            »
            »
            2 years ago, # ^ |
              Vote: I like it +27 Vote: I do not like it

            This is not to do with the internet connection that people are talking about, this is just a Facebook issue, probably no one could submit D the intended way.

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

              It's partially an internet connection issue and partially that we were doing uploads in a way that wasn't scalable to super large files; with sufficiently fast internet connection it works reliably for both D and B2. The issue is that if the upload was slow, the request times out, and then the judgement would fail.

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

                I definitely have a fast enough connection, I successfully submitted D the intended way and clarification for B2 both almost instantly and first try. But normal submission for B2 didn't work at all, even though I tried it about 5-10 times.

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

                I had trouble submitting B2 and D, and I definitely have pretty good internet connection. So I think there is more to the issue than just upload speed.

»
2 years ago, # |
  Vote: I like it +18 Vote: I do not like it

eh, FBHC seems to be the only major contest these days where you run your code locally so you can use whatever fancy libraries you want...

So I'd suggest to try https://github.com/cppfastio/fast_io, there's much more than just input and output (by some very passionate developer from China btw). Also https://github.com/taskflow/taskflow to paralellize tests

  • »
    »
    2 years ago, # ^ |
      Vote: I like it -18 Vote: I do not like it

    Hey my timer runs out but not able to submit Is there is only one chance to submit the code

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

I just wanted to thank you for adding the feature of filtering the scoreboard by country this year.

»
2 years ago, # |
  Vote: I like it +18 Vote: I do not like it

Have anyone faced an technical issue with submitting output to the last problem? I tried several times to attach my output and code but all the attempts failed. I send a clarification with source code in last minute, will they help?

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

    I had the same issue. Try checking the "My submissions" tab, in my case all my submissions appeared there (probably not instantly), despite the error starting with "Oops".

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

      Can you tell me after how many minutes did it reflect in your submissions. It's been a while but I don't see any submission even though I submitted it twice.

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

        I recommend you to wait for the news regarding these issues and solve other problems while you wait. If there are no news in, say, a day, then I'd suggest you to request a clarification. You can do it right now, but this may create an unnecessary load on the guys responding to the clarification requests.

        In any case, it is probably better to save the output file somewhere just in case if you are about to overwrite it.

»
2 years ago, # |
  Vote: I like it +3 Vote: I do not like it

I keep getting "oops, an error occur on our side" while trying to submit B2 and timer ran out. SecondThread please see into it.

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

    Did you read the clarification at the top of B2? They are aware of the problems.

»
2 years ago, # |
  Vote: I like it +211 Vote: I do not like it

I love when I participate in a CP contest and a full 50% of the problems work correctly and allow me to submit a solution. Thank you Meta, very cool <3

  • »
    »
    2 years ago, # ^ |
      Vote: I like it -62 Vote: I do not like it

    Also, presentation error hits hard when your submission is correct..

»
2 years ago, # |
  Vote: I like it +26 Vote: I do not like it

Here's an idea, how about compressing outputs client-side before submitting them to judge? This way maybe we won't get errors while submitting...

»
2 years ago, # |
  Vote: I like it +16 Vote: I do not like it

What to do in case of "oops" error in Problem D? I tried making a clarification request but it shows "Something went wrong".

»
2 years ago, # |
  Vote: I like it +28 Vote: I do not like it

Giving big inputs -> which generating big outputs -> server being unable to handle them -> :ragingsmile:

Can someone explain the logic behind that? Why not make inputs-outputs smaller? For B2 for instance, why not make restrictions $$$W, H \leq 1000$$$, why do you make $$$W, H \leq 3000$$$ and then suffer from it?

  • »
    »
    2 years ago, # ^ |
      Vote: I like it -27 Vote: I do not like it

    Yeah, so we didn't expect the -> "server takes over 30 seconds to handle them and the request times out" part to be a thing. We would have done smaller grids for B and printed like the xor of query answers for D if we anticipated the speed performance issues causing things to fail.

    • »
      »
      »
      2 years ago, # ^ |
        Vote: I like it -20 Vote: I do not like it

      Decent answer from a SE of the biggest social network in the world.

»
2 years ago, # |
  Vote: I like it +27 Vote: I do not like it

Not able to submit D after B2. Cannot even create a clarification for D with the zipped output (8MB after zipping) because that too keeps stating "Something went wrong". Any other way to get the issue resolved? SecondThread

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

    The same thing happened to me just now. I also couldn’t create a clarification for D with the zipped output. Didn’t expect this from HackerCup :(.

  • »
    »
    2 years ago, # ^ |
    Rev. 2   Vote: I like it +3 Vote: I do not like it

    If you can't upload your output to the clarification request either, just upload your source code and we'll try to run it for you this time. @tamajitbuba @_Enigma__

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

      Done.

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

      Done.

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

      Done

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

      Can't upload problem D output and the timer expired. Can I do anything else?

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

      I was not able to send my output file through clarifications either(8mb after zipping).I have sent the output file and code on email and sent my source code in clarifications.

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

    Same! My zipped output for D is 8MB. I sent it over email :) Thanks for the interesting problems though! Enjoyed them.

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

    I was not able to send my output file through clarifications either(8mb after zipping).I have sent the output file and code on email

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

I have solved the second problem and according the problem output may contain multiple answers. But it is not accepting my output file.

why?

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

    Lol "the second problem"

    In all seriousness, there may be different correct answers, but there are also incorrect answers, and you need to print exactly one correct answer per test case. For specific information, please submit a clarification request if the contest is ongoing.

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

      sir, my sublime text editor is not able to process large test cases so is there any alternatives where i can run my c++ code efficiently and get the output file?

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

        use freopen to read and write from files directly.I was having same issue and it worked for me.

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

          Bro the test cases successfully ran on my system but while submitting , it showed oops there is something wrong from our end. So i send them the clarification with source code and output file. So will they consider my solution and will i get score for that problem?

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

            yes ask in clarification section.If they donot respond within few hours then u can dm your issue to secondThread in his cf account.

            UPD:- I also got same issue asked in clarification and it got resolved within minutes.

»
2 years ago, # |
  Vote: I like it +7 Vote: I do not like it

Finally understood why the criteria for qualification is just 1 problem.

They know you won't be able to run the rest 5 on your machine :-)

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

my sublime text editor is not able to process large test cases so is there any alternatives where i can run my code efficiently and get the output file?

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

    Could you elaborate on what you're having trouble with? Sublime text is a text editor and has nothing to do with running tests.

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

Why did I get Presentation Error on submitting B2? Passing Validation tests should mean that formatting is fine, right?

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

    I had some Bus error / Broken Pipe when running on the large input. Not sure what the cause is. Anyway it leads to incomplete output, hence presentation error.

  • »
    »
    2 years ago, # ^ |
    Rev. 3   Vote: I like it 0 Vote: I do not like it

    @yohackaboi69 Hi, check if your output file covers all test cases on full test case. Code might stop half way on B2 full test case because of large inputs which might lead to Presentation Error. If this is the case, you can fix it by increasing the stack size.

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

      Thanks. You're right.

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

        Is your issue solved? I am also facing the same issue.

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

          I checked my submission and it indeed had some missing test cases. I asked for a clarification but I don't think they will allow for another submission.

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

            No i am not talking about another submission, how you have run all testcases.

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

              Tbh I have no idea. I reran my code and the output was complete. Although you can check out some other comments mentioning that we need to increase stack size.

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

n

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

how to get the output in vs code of large testcases file, I am not able to get the outputs of all inputs.

»
2 years ago, # |
  Vote: I like it +61 Vote: I do not like it

Genius problem naming scheme btw.

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

It won't let me download the validation input for problem B1, also I'm not able to submit the problem without that validation so im stuck:(

»
2 years ago, # |
  Vote: I like it +30 Vote: I do not like it

Each of these four direct flights can carry up to C_i tourists

is this a reference to tourist's nutella nickname?

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

Is it taking anyone else forever to output case#2 for Problem D for the final test case? I'm running in my vscode since 10 mins and the 6 min window expired :(

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

    We recommend using file input and output rather than relying on the console of your IDE, which may have a limited buffer size.

»
2 years ago, # |
  Vote: I like it -56 Vote: I do not like it
The comment removed because of Codeforces rules violation
  • »
    »
    2 years ago, # ^ |
      Vote: I like it -29 Vote: I do not like it
    The comment removed because of Codeforces rules violation
  • »
    »
    2 years ago, # ^ |
      Vote: I like it +32 Vote: I do not like it

    You should not publicly discuss the tasks before the contest's end.

    • »
      »
      »
      2 years ago, # ^ |
        Vote: I like it -40 Vote: I do not like it

      I agree, but I doesn't mention much that isn't already in the assignment. And, we need somewhere to discuss clarification to the assignment.

      • »
        »
        »
        »
        2 years ago, # ^ |
        Rev. 2   Vote: I like it +29 Vote: I do not like it

        You have a place to discuss clarifications to the assignment. It's on the bottom left of the contest page, called "My Clarifications".

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

My output window crashed on b2 now what to do ?

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

Does someone else also getting presentation error in B2?

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

    Yes. After increase the stack size, problem solved.

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

      how to increase stack size

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

        Add this in top of your code: #pragma comment(linker, "/STACK:1073741824")

»
2 years ago, # |
  Vote: I like it +11 Vote: I do not like it

Was unable to submit code in 6 mins due to "something wrong on our side" error, also got "something went wrong" bunch of times in clarifications so couldn't submit a clarification.

»
2 years ago, # |
  Vote: I like it +9 Vote: I do not like it

for submission problem in B2 submit zip file containing output and source code in your clarification for Problem B2

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

    Oh that worked, thanks! Ig it is about 15 minutes late so they won't accept but might be helpful for others

»
2 years ago, # |
  Vote: I like it +21 Vote: I do not like it

How the checker works in problem C ?

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

So how/when is B2 gonna be judged by submitting through clarification. The contest is end now but my B2 status remains "Submission Timer Expired".

»
2 years ago, # |
Rev. 2   Vote: I like it +50 Vote: I do not like it

Good job Meta, uploading my code for D to a different account then disqualifying both of us for having the same code.

No hard feelings though (as long as I get un-disqualified). Currently communicating via Clarifications to get this sorted. I can see how hard it is to juggle manual uploads.

Update: Issue resolved! Thanks Meta!

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

    How did you know you're disqualified? Does the disqualified person not have a country rank assigned to him?

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

      All checkmarks (if any) turn into Xs, and hovering over the X gives "This submission was disqualified due to a failure to follow the rules of the competition."

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

        Oh. I was being paranoid as my case was one such that I was not assigned a country rank.Thank you for the information. <3

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

Why is B2 not available for practice?

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

    Bumping this up as B2 is still not available for practice.

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

Hi, may I know when will problem D be available to be submitted for practice? Seems like I cannot submit it for now: https://www.facebook.com/codingcompetitions/hacker-cup/2022/qualification-round/problems/D .

»
2 years ago, # |
Rev. 2   Vote: I like it +39 Vote: I do not like it

I missed QR :(

Here is a suggestion: Is this could be a problem if there is a bye to R1 or R2 for previous R3 advancers or finalists? (Not this year, next year or later)

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

I just noticed there's a ceritificate for qualifying. Can I get in digital form instead of printing it physically?