№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
Well, I'm an Anime fan and got to CP now. Just thinking that there are many Otakus in CF. Does cp's become otakus or the other way around.
BTW, here's an example:
Hi All,
Happy New Year, Could anyone please share some Ladders. I came across this ladder, it will be helpful for beginners also.
Thanks in Advance, pop1912
Hi, I'm using "cin.ignore()" to ignore the input. I want only the 2nd integer to be displayed for this sample Input, I'm getting WA for some Test Cases, What is wrong in my code?:
Testcase 1:(Output should be "1")
2 1
carrots?
bunnies
Testcase 2:(Output should be "5")
1 5
sovl problmz
My Code:
#include<iostream>
using namespace std;
int main() {
int a;
cin.ignore();
cin>>a;
cin.ignore();
cout<<a;
return 0;
}
Hi, Can you help me in this CSES Two Sets problem?.
Statement:
Your task is to divide the numbers 1,2,…,n into two sets of equal sum.
Input
The only input line contains an integer n.
Output
Print "YES", if the division is possible, and "NO" otherwise.
After this, if the division is possible, print an example of how to create the sets. First, print the number of elements in the first set followed by the elements themselves in a separate line, and then, print the second set in a similar way.
Constraints 1≤n≤106
Hi, Could you help me in this problem. "https://codeforces.me/problemsets/acmsguru/problem/99999/100".
My solution is my-submission. I'm getting WA, help me identify the mistake.
#include<iostream>
#include<fstream>
using namespace std;
int main() {
ifstream fin("input.in");
ofstream fout("output.out");
int a,b;
fin>>a>>b;
fout<<a + b<<"\n";
return 0;
}
Thanks, pop1912
I have mistakenly used this user name, now I want to change to other but I can't see that option in the settings, Please help me...
Название |
---|