ammar007's blog

By ammar007, history, 5 days ago, In English

A. Mood

Python Solution

B. Hungry

Python Solution

C. Ice Coffee

Python Solution

D. Beautiful decrease

Python Solution

E. The Detective Game

Python Solution

F. Distinct

CPP Solution

G. String Rotation

Python Solution

H. Cookies

Python Solution

I. Omar and Trees

CPP Solution

J. Hide and Seek

Python Solution

K. Wrong digits

Python Solution

L. Black and White Tree

Python Solution

M. Delivery

Python Solution

N. How many rectangles?

Python Solution

Full text and comments »

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

By ammar007, history, 13 days ago, In English

TCPC Rules

  • Each team should have 3 contestants
  • Phones are not allowed
  • Printed material is allowed
  • The solution must be written in one of these programming languages: Java, C++, Python
  • Only one computer per team will be provided onsite for the contest (this computer has no internet connection and all the necessary tools are pre-installed)
  • Until the contest begins, contestants are not allowed to touch anything at the team workstation
  • Contest will last for 5 hours

TCPC Ranking System

  • The team with the most solved problems wins
  • In case of a tie, the team with the least wrong submission is ranked first
  • In case of a penalty tie, the time of the last accepted submission is considered

Previous TCPC Contests

Some Algorithms/Data Structures Used in Past TCPC Constests

Other Useful Resources

Full text and comments »

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

By ammar007, history, 6 months ago, In English

A. Collatz Algorithm

Solution

B. DNA Counting

Solution

C. TPCP 2023 – Is it a Helal Sequence?

Solution

Full text and comments »

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

By ammar007, history, 7 months ago, In English

A. Graph: Road Trip

Python Solution
C++ Solution

B. Graph: Counting Islands

Python Solution
C++ Solution

C. Graph: Counting Rooms

Python Solution
C++ Solution

Full text and comments »

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