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

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

Hello, To all the Collegiate Programmers in South America!

The tournament that gathers the most talented college minds in South America for an algorithmic academic challenge has arrived! This tournament is focused to bring the best of the best collegiate minds in South America together. We are excited to bring the exciting event, prizes, goodies and yes an intense competition for you.

ltaravilse Cup aka Topcoder Collegiate Contest South America is organized this year to commemorate his legacy.

ltaravilse was and is one of the finest coders on Topcoder from South America. He had been a member of Topcoder since 2007. He was a fantastic competitor, participating in SRMs and forum discussions and much more. More than that, he was a great community member and gave back to the community in countless ways. ltaravilse personally trained and motivated many other members to participate in SRMs and Marathon Matches.

Schedule

Online Qualifiers: June 23 12:-00 UTC -3 -- Registration Open

Onsite Finals: July 20th at Medallia, Arevalo 1840, CABA, ZipCode: 1414.

How to Register and Compete

Registration is open for the match in the Applet and the Arena! Check out this guide to successfully compete in an algorithm match.

Registration is now open for the match in the Applet and the Arena!

Prizes

  • The Topcoder Collegiate Champion and the Runner Up in the Onsite Finals will get awarded with $400 and $150 in cash respectively along with TCC Trophies.

  • Top 10 from the Qualifying Round who agree attend the onsite finals will receive the following:

-- Registration Ticket to TCO19 South America Regionals in Buenos Aires.

-- Travel Reimbursement of up to $250, to travel to the Onsite Finals.

-- Topcoder T-shirt — Personalized with their Topcoder Handles

-- Next 20 from the online round will be awarded TCC t-shirts.

Learn More: https://tco19.topcoder.com/regional-events/south-america/tcc

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

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

Reminder: The contest will start in 4 hours. I want to know who the writer is.

UPD: Can foreign and/or non-university coders can participate in this contest? (I hope so, and I will participate if admin does not say that it is not possible)

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

I am new on topcoder, i try to submit the following code for the second problem and i got compilation error, i wasted much time on that, so i decided implemented it on python, finally only remains 10 min and i got very low score on this problem. Someone can said me, why i got compilation error ?

class OrderlyString
{
public:
	int longestLength(string s)
	{
		int n = s.length();
		vector<vector<int> > dp(n+1, vector<int>(26, -100000000));
		dp[0][0] = 0;
		for (int i = 0; i < n; ++i)
			for (int j = 0; j < 26; ++j)
			{
				dp[i+1][j] = max(dp[i+1][j], dp[i][j]);
				if (j <= (s[i]-'A'))
					dp[i+1][s[i]-'A'] = max(dp[i+1][s[i]-'A'], dp[i][j]+1);
			}
		return *max_element(dp[n].begin(), dp[n].end());
	}
};
  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Missing headers and using namespace std? Trying to compile for Java instead of C++? You have compilation errors listed when you try to compile, read them and figure it out from there.

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

      I added #include <bits/stdc++.h> using namespace std; and got CE again, i compiled in c++, but now i am not sure about this "You have compilation errors listed when you try to compile, read them and figure it out from there." Thanks for replied

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

        When you click Compile, a window pops up, either telling you "compiled successfully" or listing the compiler output. Focus on that compiler output. If it doesn't, that's your problem or an arena problem, it happens for me.

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

That 250 and 500 should've been reversed. 500 was very easy and 250 had some nice evil parts — no, making sure you don't divide by zero isn't enough! (Also, I hacked a solution that avoids division by zero in all cases except $$$w=w_1=1$$$ and/or $$$h=h_1=1$$$. You know, the first thing to customtest.)

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

BS before edit

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

    It is actually listed in the main statement at the start of the second paragraph: "The tomb is divided into as many as six chambers."

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

Seems like ratings were updated, but the results are still at "everyone failed 250". Any idea if it's going to stay like this?