Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mateusz-przybyla/spoj_cpp_algorithmics

My solutions of the selected SPOJ tasks.
https://github.com/mateusz-przybyla/spoj_cpp_algorithmics

algorithm cpp data-structures matematics spoj spoj-problems

Last synced: 10 days ago
JSON representation

My solutions of the selected SPOJ tasks.

Awesome Lists containing this project

README

        

[Link to my SPOJ profile](https://pl.spoj.com/users/mateusz_941/)

## Assumptions for tasks:

### AL_05_01 - Czarodziejskie lusterko
+ [link to assumptions](https://pl.spoj.com/problems/AL_05_01/)
+ **exemplary input:**\
13\
47\
11\
61
+ **output:**\
11\
61\
13\
47

### CALC - Kalkulator
+ [link to assumptions](https://pl.spoj.com/problems/CALC/)
+ **exemplary input:**\
'+' 7 9\
'-' 0 4\
'*' 5 6\
'/' 8 3\
'%' 5 2
+ **output:**\
16\
-4\
30\
2\
1

### DOUGHNUT - Harry and big doughnuts
+ [link to assumptions](https://pl.spoj.com/problems/DOUGHNUT/)
+ **exemplary input:**\
3\
5 15 3\
1 5 4\
13 25 2
+ **output:**\
yes\
yes\
no

### ETI06F1 - Pole pewnego koła
+ [link to assumptions](https://pl.spoj.com/problems/ETI06F1/)
+ **exemplary input:**\
10 10\
1000 1500
+ **output:**\
235.62\
1374446.79

### FLAMASTE - Flamaster
+ [link to assumptions](https://pl.spoj.com/problems/FLAMASTE/)
+ **exemplary input:**\
4\
OPSS\
ABCDEF\
ABBCCCDDDDEEEEEFGGHIIJKKKL\
AAAAAAAAAABBBBBBBBBBBBBBBB
+ **output:**\
OPSS\
ABCDEF\
ABBC3D4E5FGGHIIJK3L\
A10B16

### FR_02_06 - BMI
+ [link to assumptions](https://pl.spoj.com/problems/FR_02_06/)
+ **exemplary input:**\
5\
Ala 50 173\
Beata 70 190\
Boleslaw 100 180\
Wincent 85 186\
Hiacynta 62 164
+ **output:**\
niedowaga\
Ala

wartosc prawidlowa\
Beata\
Wincent\
Hiacynta

nadwaga\
Boleslaw

### HEXTOBIN - Szesnastkowa na binarna
+ [link to assumptions](https://www.spoj.com/WSDOCPP/problems/HEXTOBIN/)
+ **exemplary input:**\
3\
A
+ **output:**\
0011\
1010

### JGGHACK - Łamacz gg
+ [link to assumptions](https://pl.spoj.com/problems/JGGHACK/)
+ **exemplary input:**\
BGCGDGEGFGGGHGIGJGKG\
LGBGEHBGDHEHCHPGGGBG\
PGCGPGKHPGHHJGDHLGPG
+ **output:**\
abcdefghij\
katastrofa\
obozowisko

### JPESEL - Pesel
+ [link to assumptions](https://pl.spoj.com/problems/JPESEL/)
+ **exemplary input:**\
2\
44051401458\
12345678901
+ **output:**\
D\
N

### JSZYCER - Szyfr Cezara
+ [link to assumptions](https://pl.spoj.com/problems/JSZYCER/)
+ **exemplary input:**\
ABC DEF\
TERA EST ROTUNDA
+ **output:**\
DEF GHI\
WHUD HVW URWXQGD

### KC001 - Dodawanie liczb całkowitych
+ [link to assumptions](https://pl.spoj.com/PDSTPROG/problems/KC001/)
+ **exemplary input:**\
100\
-68\
12
+ **output:**\
44

### MWP2_1E - Szpieg
+ [link to assumptions](https://pl.spoj.com/problems/MWP2_1E/)
+ **exemplary input:**\
RADZIECKI\
MULLER\
WYWIAD\
WZYWA\
HERR
+ **output:**\
HERR\
MULLER\
RADZIECKI\
WYWIAD\
WZYWA

### MWP8_1B - Budka suflera
+ [link to assumptions](https://pl.spoj.com/problems/MWP8_1B/)
+ **exemplary input:**\
JOLKA JOLKA PAMIETASZ LATO ZE SNU\
JOLKA ZE SNU
+ **output:**\
3\
JOLKA\
LATO\
PAMIETASZ

### MWPZ06X - Nowa działka
+ [link to assumptions](https://pl.spoj.com/problems/MWPZ06X/)
+ **exemplary input:**\
2\
5\
3
+ **output:**\
25\
9

### PALIND2 - Palindrom tekstowy
+ [link to assumptions](https://pl.spoj.com/WSDOCPP/problems/PALIND2/)
+ **exemplary input:**\
5\
kobylamamalybok\
kaftan\
kajak\
preeeeeeeerp\
a
+ **output:**\
tak\
nie\
tak\
tak\
tak

### POL - Połowa
+ [link to assumptions](https://pl.spoj.com/problems/POL/)
+ **exemplary input:**\
3\
pierwszy\
lubiec\
ktotozrobi
+ **output:**\
pier\
lub\
ktoto

### POTSAM - Samolot
+ [link to assumptions](https://pl.spoj.com/problems/POTSAM/)
+ **exemplary input:**\
2 5 3 20
+ **output:**\
70

### PP0502B - Tablice
+ [link to assumptions](https://pl.spoj.com/problems/PP0502B/)
+ **exemplary input:**\
2\
7 1 2 3 4 5 6 7\
3 3 2 11
+ **output:**\
7 6 5 4 3 2 1\
11 2 3

### PP0602A - Parzyste nieparzyste
+ [link to assumptions](https://pl.spoj.com/problems/PP0602A/)
+ **exemplary input:**\
2\
4 1 2 3 5\
3 9 8 7
+ **output:**\
2 5 1 3\
8 9 7

### PRIME_T - Liczby Pierwsze
+ [link to assumptions](https://pl.spoj.com/problems/PRIME_T/)
+ **exemplary input:**\
3\
11\
1\
4
+ **output:**\
TAK\
NIE\
NIE

### PRZEDSZK - Przedszkolanka
+ [link to assumptions](https://pl.spoj.com/problems/PRZEDSZK/)
+ **exemplary input:**\
2\
12 15\
11 22
+ **output:**\
60\
22

### PTROL - ROL
+ [link to assumptions](https://pl.spoj.com/problems/PTROL/)
+ **exemplary input:**\
2\
7 1 2 3 4 5 6 7\
3 2 1 10
+ **output:**\
2 3 4 5 6 7 1\
1 10 2