a2sv's blog

By a2sv, history, 12 months ago, In English

[problem:440884A]

Hint
Solution
Code

[problem:440884B]

Hint
Solution
Code

[problem:440884C]

Solution
Code

[problem:440884D]

Solution
Code
Follow up

[problem:440884E]

Solution
Code

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 12 months ago, In English

A. King Escape

Approach
Code

B. Party

Approach
Code

C. Transformation: from A to B

Approach
Code

D. Kefa and Park

Approach
Code

E. Count Subrectangles

Approach
Code

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 13 months ago, In English

A. Love Triangle

Approach
Code

B. Divide and Multiply

Approach
Code

C. Sherlock and his girlfriend

Approach
Code

D. Fadi and LCM

Approach
Code

E. Modified GCD

Approach
Code

F. Power Products

Approach
Code
Code 2

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By a2sv, history, 13 months ago, In English

A) XOR MIXUP

Approach
Code

B) Raising Bacteria

Approach
Code

C) Special Numbers

Approach
Code

D) Rock and Lever

Approach
Code

E) Powers of Two

Approach
Code

F) Little Gril and Maximum XOR

Approach
Code

Full text and comments »

  • Vote: I like it
  • -5
  • Vote: I do not like it

By a2sv, history, 13 months ago, In English

[problem:433454A]

Hint 1
Hint 2
Solution
Code

[problem:433454B]

Hint 1
Solution
Code

[problem:433454C]

Hint
Solution
Code

[problem:433454D]

Hint
Solution
Code

[problem:433454E]

Hint
Solution
Code

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 14 months ago, In English

[problem:430380A]

Hint
Solution
Code 1
Code 2

[problem:430380B]

Hint
Solution
Code

[problem:430380C]

Hint 1
Hint 2
Solution
Code

[problem:430380D]

Hint
Solution
Code

[problem:430380E]

Hint
Solution
Code

[problem:430380F]

Hint 1
Hint 2
Solution
Code

[problem:430380G]

Hint
Solution
Code

Full text and comments »

  • Vote: I like it
  • -2
  • Vote: I do not like it

By a2sv, history, 14 months ago, In English

[problem:430380A]

Hint
Solution
Code 1
Code 2

[problem:430380B]

Hint
Solution
Code

[problem:430380C]

Hint 1
Hint 2
Solution
Code

[problem:430380D]

Hint
Solution
Code

[problem:430380E]

Hint
Solution
Code

[problem:430380F]

Hint 1
Hint 2
Solution
Code

[problem:430380G]

Hint
Solution
Code

Full text and comments »

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

By a2sv, 14 months ago, In English
A
B
C
D
E

Full text and comments »

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

By a2sv, 14 months ago, In English
A
B
C
D
E

Full text and comments »

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

By a2sv, history, 14 months ago, In English

A. Matrix Rotation

Hint
Approach
Code

B. Kefa and First Steps

Approach
Code

C. Double Strings

Hint
Approach
Code

D. Balanced Team

Hint
Approach
Code

E. Pair of Topics

Hint 1
Hint 2
Hint 3
Approach
Code

Full text and comments »

  • Vote: I like it
  • -14
  • Vote: I do not like it

By a2sv, history, 14 months ago, In English

A) odd Sum

Hint 1
Hint 2
Approach
Code

B) Smallest String

Hint
Approach
Code

C) Number of Pairs

Approach
Code

D) Toys

Approach
Code

E) K seats

Approach
Code

Full text and comments »

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

By a2sv, history, 15 months ago, In English

A) Restore the Sequence

Hint
Approach
Code

B)uniproduct sequence

Approach
Code

C) Swap sequence

Hint
Approach
Code

D) Complex Bracket Sequence

Hint
Approach
Code

E)Block Sequence

Hint 1
Hint 2
Approach
Code

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 15 months ago, In English

Contest Link

A) Card Game

Approach
Steps
Code

B)Button

Hint 1
Hint 2
Approach
Code

C) Shortest Substring

Approach 1
Code 1
Approach 2
Code 2

D) Find K

Hint 1
Hint 2
Hint 3
Approach
Code 1
Code 2

E) Drop the Stones

Approach
Code

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 15 months ago, In English

[problem:422945A]

Hint
Solution
Code

[problem:422945B]

Hint
Solution
Code

[problem:422945C]

Hint
Solution
Code

[problem:422945D]

Hint 0
Hint 1
Hint 2
Solution
Code

[problem:422945E]

Hint
Solution
Code

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 15 months ago, In English

[problem:421609A]

Hint
Solution
Code

[problem:421609B]

Hint 0
Hint 1
Hint 2
Hint 3
Hint 4
Solution
Code

[problem:421609C]

Hint
Solution
Code

[problem:421609D]

Hint
Solution
Code

[problem:421609E]

Hint
Solution
Code

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 21 month(s) ago, In English

Special thanks to feysel_mubarek for preparing the contest.

Contest Link: https://codeforces.com/contests/388056

A. Vanya and Fence

By: yididiyakebede

Tutorial
Solution

B. Maximum Increase

By: seraph14

Tutorial
Solution

C. Dima and Staircase

By: hello_world_was_taken

Tutorial
Solution

D. Lunar New Year and a Wander

By: dryeab

Tutorial
Solution

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 22 months ago, In English

Special thanks to feysel_mubarek for preparing the contest.

Contest Link: https://codeforces.com/contestInvitation/cc6ae92d63544c1909538f410c0ec6f75f2fbe66

A. Football

By: minta911

Tutorial
Solution

B. Team Composition: Programmers and Mathematicians

By: theFakeSlimShady

Tutorial
Solution
Solution 2

C. Constanze's Machine

By: Lowin

Tutorial
Solution

D. Replace With the Previous, Minimize

By: Infinidrix

Tutorial
Solution

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it

By a2sv, history, 22 months ago, In English

Special thanks to feysel_mubarek for preparing the contest.

Contest Link: https://codeforces.com/contests/386258

A. Team

By: jo_forces

Tutorial
Solution

B. White-Black Balanced Subtrees

By: dryeab

Tutorial
Solution

C. Sort the Array

By: feysel_mubarek

Tutorial
Solution

D. Equalize the Array

By: jo_forces

Tutorial
Solution

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 22 months ago, In English

Special thanks to feysel_mubarek for preparing the contest.

Contest Link: https://codeforces.com/contests/385438

A. Helpful Maths

By: Abel-Mek

Tutorial
Solution

B. Sereja and Dima

By: gummy1

Tutorial
Solution

C. Frog Jumps

By: aben

Tutorial
Solution

D. Winner

By: merwan

Tutorial
Solution

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By a2sv, history, 23 months ago, In English

Special thanks to feysel_mubarek for preparing the contest.

Contest Link: https://codeforces.com/contestInvitation/7801dbb22ae543a8612d1b602a83739669e3f48b

A. Boy or Girl

By: Mati_Y

Tutorial
Solution 1
Solution 2

B. Queue at the School

By: Ramadan

Tutorial
Solution

C. Registration system

By: SamiyaH

Tutorial
Solution

D. Pair of Topics

By: light_ab

Tutorial
Solution

Full text and comments »

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

By a2sv, 23 months ago, In English

Special thanks to feysel_mubarek for preparing the contest, seraph14, HundredthThread, theFakeSlimShady, jo_forces, and nCydready for the help in preparing the editorial.

Contest Link: https://codeforces.com/contestInvitation/4e495c2731ca8e03208ef206ab59b56864852683

A. Petya and Strings

By: theFakeSlimShady

Tutorial
Solution

B. And Then There Were K

By: HundredthThread

Tutorial
Solution 1
Solution 2

C. Rumor

By: jo_forces

Tutorial
Solution 1
Solution 2

D. Password

By: seraph14

Tutorial
Solution 1
Solution 2

Full text and comments »

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