Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

ublog's blog

By ublog, 13 years ago, In English

Hi, what is average or good rating for a 14 — 15 yrs old student? for example in Iran:

14yrs: pupil - specialist 
15yrs: specialist - expert
16yrs: candinated master
17yrs: (ø - international) master


any suggestion are welcomed, as the result we want a comparison table to realize how much we are good (or bad) programmers and how much we shod try.
thank you very much :)

Full text and comments »

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

By ublog, 13 years ago, In English

Why this code works? why it didn't get Runtime & compilation error? (runtime for a[-1] and compilation error for a[n]) maybe new c++ futures ??!!

int n;
int main () 
{
    cin>>n;
    int a[n];
    a[-1]=40;
    cout<<a[-1];
    return 0;
}

Full text and comments »

Tags c++
  • Vote: I like it
  • +4
  • Vote: I do not like it

By ublog, 13 years ago, In English

Hello! What is best place for training and coding and improving coding skills? It means which website like UVA,TC, CF ,USACO,PJEU... have better problems?
Thank you :)

Full text and comments »

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

By ublog, 13 years ago, In English

Recently I wrote a code for problem 340B. The code works correctly.when I add this this to end of the code(actual code here) writeln(ans:0:9); it doesn't work correctly any more and I got exitcode 207. can anyone help to solve this problem? thanks.

Full text and comments »

Tags fpc
  • Vote: I like it
  • +5
  • Vote: I do not like it

By ublog, 13 years ago, In English

Recently I submit problem 337C and got compilation error. my code works correctly on latest version of Free Pascal but here got compilation error. The problem happens just when I use functions. is it judge problem? please help me. thank you.

Full text and comments »

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