user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 18, 2022open-state

Time Complexity · USACO Guide

A conservative estimate for the number of operations the grading server can handle per second is 10810^8108, but it could be closer to 5⋅1085 \cdot 10^85⋅108 given good constant factors*.

-

Time Complexity · USACO Guideusaco.guide

user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 8, 2022open-state

Problem - C - Codeforces

assign either f(ai)f(ai)f(a_i) to aiaia_i or f(bi)f(bi)f(b_i) to bibib_i.

What's the smallest number of operations required to make aaa and bbb similar to each other?

-

Problem - C - Codeforcescodeforces.com

user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 8, 2022open-state

Problem - B - Codeforces

otherwise assign 000 to xxx;

the value of the permutation is xxx at the end of this process.

initially, an integer variable xxx is equal to 000;

-

Problem - B - Codeforcescodeforces.com

user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 8, 2022open-state

Problem - A - Codeforces

The total amount of balls in the bag is odd

you can choose two balls with different colors and take them out of the bag.

Find any possible color of the remaining balls.

-

A. Colored Balls: Revisitedcodeforces.com

user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 7, 2022open-state

Shoe Pairs

Any left shoe can be paired with any right shoe of the same size

-

Shoe Pairscsacademy.com

user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 7, 2022open-state

Non Zero Xor - Submit | CodeChef

Pick an index iii such that (1≤i≤N)(1 \le i \le N)(1≤i≤N) and set Ai:=XA_i := XAi​:=X where 0≤X<1010100 \le X \lt 10^{10^{10}}0≤X<101010

-

Non Zero Xor - Submit | CodeChefwww.codechef.com

user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 7, 2022open-state

Balls and Boxes - Submit | CodeChef

Each box contains ≥1\ge 1≥1 balls.

-

Balls and Boxes - Submit | CodeChefwww.codechef.com

user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 7, 2022open-state

Permutation Clear - Submit | CodeChef

Note: A permutation of length NNN is an array where every integer from 111 to NNN occurs exactly once.

-

Permutation Clear - Submit | CodeChefwww.codechef.com

user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 7, 2022open-state

Broken Phone - Submit | CodeChef

He can get it repaired by spending XXX rupees

buy a new phone by spending YYY rupees

REPAIR

-

Broken Phone - Submit | CodeChefwww.codechef.com

user-profile-img

Saeed Ahmed

@saeed.developer185xnacuy42u• Sep 7, 2022open-state

Fever - Submit | CodeChef

strictly greater than 989898 °F.

T — the number of test cases.

YES

-

Fever - Submit | CodeChefwww.codechef.com