Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Competitive-Programming

This repo contains solutions that I've written to some competitive programming problems. Since some problems can be solved using more than one technique or fall into many categories I've decided to organize files by site (Codeforces, Atcoder etc.) and then by difficulty given in their respective sites (A, B, C, D etc).

Codeforces

codeforces


DIV 4

Problems A

N Problem Difficulty Tags Statement
1 Sum of Round Numbers 800 implementation, math https://codeforces.com/contest/1352/problem/A

DIV 3

Problems A

N Problem Difficulty Tags Statement
1 Most Unstable Array 700 constructive algorithms, math https://codeforces.com/contest/1353/problem/A

Problems B

N Problem Difficulty Tags Statement
1 Two Arrays And Swaps 800 greedy, sortings https://codeforces.com/contest/1353/problem/B
2 Merge it! 1100 math https://codeforces.com/contest/1176/problem/B

DIV 2

Problems A

N Problem Difficulty Tags Statement
1 Petya and Strings 800 implementation, strings https://codeforces.com/problemset/problem/112/A
2 Presents 800 implementation https://codeforces.com/problemset/problem/136/A
3 Arrival of the General 800 implementation https://codeforces.com/problemset/problem/144/A
4 Soft Drinking 800 implementation, math https://codeforces.com/problemset/problem/151/A
5 Perfect Permutation 800 implementation, math https://codeforces.com/problemset/problem/233/A
6 Greg's Workout 800 implementation https://codeforces.com/problemset/problem/255/A
7 Roma and Lucky Numbers 800 implementation https://codeforces.com/problemset/problem/262/A
8 Beautiful Matrix 800 implementation https://codeforces.com/problemset/problem/263/A
9 Games 800 brute force https://codeforces.com/problemset/problem/268/A
10 Cakeminator 800 brute force, implementation https://codeforces.com/problemset/problem/330/A
11 Helpful Maths 800 greedy, implementation, sortings, strings https://codeforces.com/problemset/problem/339/A
12 Playing with Dice 800 brute force https://codeforces.com/problemset/problem/378/A
13 Watermelon 800 brute force, math https://codeforces.com/problemset/problem/4/A
14 Choosing Teams 800 greedy, implementation, sortings https://codeforces.com/problemset/problem/432/A
15 Anton and Letters 800 constructive algorithms, implementation https://codeforces.com/problemset/problem/443/A
16 I Wanna Be the Guy 800 greedy, implementation https://codeforces.com/problemset/problem/469/A
17 Team Olympiad 800 greedy, implementation, sortings https://codeforces.com/problemset/problem/490/A
18 Fox And Snake 800 implementation https://codeforces.com/problemset/problem/510/A
19 Way Too Long Words 800 strings https://codeforces.com/problemset/problem/71/A
20 Nearly Lucky Number 800 implementation https://codeforces.com/contest/110/problem/A
21 Panoramix's Prediction 800 brute force https://codeforces.com/contest/80/problem/A
22 Ultra-Fast Mathematician 800 implementation https://codeforces.com/contest/61/problem/A
23 Beautiful Year 800 brute force https://codeforces.com/contest/271/problem/A
24 Stones on the Table 800 implementation https://codeforces.com/contest/266/problem/A
25 Word Capitalization 800 implementation, strings https://codeforces.com/contest/281/problem/A
26 Word 800 implementation, strings https://codeforces.com/contest/59/problem/A
27 Twins 900 greedy, sortings https://codeforces.com/problemset/problem/160/A
28 Dubstep 900 strings https://codeforces.com/problemset/problem/208/A
29 Ilya and Bank Account 900 implementation, number theory https://codeforces.com/problemset/problem/313/A
30 Even Odds 900 math https://codeforces.com/problemset/problem/318/A
31 Puzzles 900 greedy https://codeforces.com/problemset/problem/337/A
32 Devu, the Singer and Churu, the Joker 900 greedy, implementation https://codeforces.com/problemset/problem/439/A
33 Game With Sticks 900 implementation https://codeforces.com/problemset/problem/451/A
34 Minimum Difficulty 900 brute force, implementation, math https://codeforces.com/problemset/problem/496/A
35 Contest 900 implementation https://codeforces.com/problemset/problem/501/A
36 Alarm Clock 900 math https://codeforces.com/contest/1354/problem/A
37 Lights Out 900 implementation https://codeforces.com/contest/275/problem/A
38 String Task 1000 implementation, strings https://codeforces.com/problemset/problem/118/A
39 Lucky Division 1000 brute force, number theory https://codeforces.com/problemset/problem/122/A
40 Supercentral Point 1000 implementation https://codeforces.com/problemset/problem/165/A
41 Dragons 1000 greedy, sortings https://codeforces.com/problemset/problem/230/A
42 Lunch Rush 1000 implementation https://codeforces.com/problemset/problem/276/A
43 Bear and Raspberry 1000 brute force, greedy, implementation https://codeforces.com/problemset/problem/385/A
44 Valera and X 1000 implementation https://codeforces.com/problemset/problem/404/A
45 Valera and Antique Items 1000 implementation https://codeforces.com/problemset/problem/441/A
46 Appleman and Easy Task 1000 brute force, implementation https://codeforces.com/problemset/problem/462/A
47 Dreamoon and Stairs 1000 implementation, math https://codeforces.com/problemset/problem/476/A
50 Expression 1000 brute force, math https://codeforces.com/problemset/problem/479/A
48 Watching a movie 1000 greedy, implementation https://codeforces.com/problemset/problem/499/A
49 Chat room 1000 greedy, sortings https://codeforces.com/problemset/problem/58/A
51 Young Physicist 1000 implementation, math https://codeforces.com/problemset/problem/69/A
52 Laptops 1100 sortings https://codeforces.com/problemset/problem/456/A
53 Counterexample 1100 brute force, implementation, math, number theory https://codeforces.com/problemset/problem/483/A
54 Sequence with Digits 1200 brute force, implementation, math https://codeforces.com/contest/1355/problem/A
55 Pashmak and Garden 1200 implementation https://codeforces.com/problemset/problem/459/A
56 Cheap Travel 1200 implementation https://codeforces.com/problemset/problem/466/A
57 TL 1200 brute force, greedy, implementation https://codeforces.com/contest/350/problem/A
58 IQ test 1300 brute force https://codeforces.com/problemset/problem/25/A
59 Cut Ribbon 1300 brute force, dp https://codeforces.com/contest/189/problem/A

Problems B

N Problem Difficulty Tags Statement
1 Borze 800 expression parsing, implementation https://codeforces.com/contest/32/problem/B
2 Ternary String 1200 binary search, implementation, two pointers https://codeforces.com/contest/1354/problem/B
3 Young Explorers 1200 dp, greedy, sortings https://codeforces.com/contest/1355/problem/B
You can’t perform that action at this time.