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

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

Today I couldn't solve a single problem in the contest, My rating will continue to drop.

Makes me want to end this journey here.

Thanks codeforces and everyone, I think I will only do leetcode from now on.

PS: Don't hate on me for this goodbye memory blog.

Теги bye
  • Проголосовать: нравится
  • -23
  • Проголосовать: не нравится

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

Great!

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

Why did you attempt G2 before attempting A today ?

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

why are you heartbroken when you didnt write your own code

check his submissions for g :((

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

why didnt you try A? It is probably the easiest question i have seen on codeforces.

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

Before starting with competitive programming, you should have to make your DSA strong as much as possible. You should learn different algorithms and also have idea about time and space complexity. Absolutely you should have to solve the easy and medium problems from other coding platforms, then u should come here. At beginning, I too jumped into cp without having basic idea about time complexity.

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

Now other ppl's +ve delta would be lesser :(

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

9q3418

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

join ukika clan

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

How come you solved A and C for pinely round Div1+Div2, but solved no problems here? At pinely round, I solved just A, yet solved ABCE for today's contest. Did u copy code or smth?

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

I refuse to believe that anyone that registers for this site can't solve A in today's contest.

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

you said the same thing 2 months back in this blog, see where you are now

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

start playing chess, i will make you lgm in chess

»
3 часа назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится
#include <iostream>
using namespace std;

void solve() {
    int n; 
    cin>>n;
    int ans = 0;
    for(int i=0;i<n;i++){
        ans += i;
    }
    cout<<ans<<endl;
}

int main() {
    int t;
    cin >> t;
    while (t--) solve();
}

whats wrong with my code of problem A ?