MikeMirzayanov's blog

By MikeMirzayanov, 9 years ago, translation, In English,

Good evening… (good?)

There were difficulties with the round, for which I apologize. During the contest I was able to partially locate the troubles, I hope we’ll fix them soon. Apparently, there were two troubles: 1) site didn’t respond, 2) for hacking attempts occurred inappropriate message that hacking is already taken. We will investigate it. Thank you for your patience.

So we decided to do it unrated.

I added work to the next round, the more so because I'm going to be its author:)

MikeMirzayanov

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

9 years ago, # |
  Vote: I like it +20 Vote: I do not like it
Anyway I got rated. I got two contribution points because of a comment for contest delay. :p
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
okay..... regarding %lld ..can anyone point out what to read...to get satisfied that..it is wrong to use it here with c++ ?
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
It was my chance to be red. :S
9 years ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

By following your link , I got this http://www.codeforces.com/blog/entry/417?locale=ru , I will now use Visual C++. 

No need of  C and C++(gnu) altogether. 

  • 9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Visual C++ 2005 or latest ones support both 'long long' and '__int64', so to be general, people use to use 'long long' with identifier %lld.
  • 9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Is  %s  also a problem?

    Because this code passed on MS C++ but not on GNU .

    PROBLEM B.

    #include<vector>
    #include<map>
    #include<iostream>
    #include<algorithm>
    #include<stdio.h>
    using namespace std;
    int main()
    {
    map<char,long long int> c;
    long long int ans;
    long long int i;
    char s[100001];
    scanf("%s",s);
    i=0;
    while(s[i]!='\0')
    {
    c[s[i]]++;
    i++;
    }
    ans=0;
    for(i=0;i<c.size();i++)
    {
    ans+=c[i]*(c[i]-1)+c[i];
    }
    cout<<ans;
    scanf("%*d");
    return 0;
    }
     

9 years ago, # |
  Vote: I like it +3 Vote: I do not like it
Oh :O Noooooo :O Will u be uploading the tutorial for this contest ?? Try to.... It would help Begginers ("ME":p)
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Ah it's better that this contest is unrated, I couldn't access the site at all during the contest even for submissions!
It was like waiting in queue trying to refresh the page in hope to see when I get a chance to submit, in the end I got two problems solved (I came to know what problem E was only after the contest got over!), I think codeforces is getting too popular and there is something participants should do, like donate some amount to you so you can buy a new server?
  • 9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Codeforces is sponsored by vk.com I think that if you would like to help, prepare problems for contests and think of potential improvements.
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I think Codeforces should get powerful servers or restrict the number of participants in a contest to avoid such problems in the future. The distribution in rooms also should be based on rating and not random. Yesterday I had many red-rated coders (including tourist) and many yellow-rated coders in my room.
This was my best performance on Codeforces and now its unrated.. :(
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
where are the tests? I can't find them :(
  • 9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Test when your submission failes are only allowed.
    Click My Submission then submission's id