Skip to content

Commit a1aa9eb

Browse files
committed
added more kattis problems
1 parent ddf8e5c commit a1aa9eb

9 files changed

+62
-65
lines changed

assignments/cold/cold.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
accepted: 0
2+
cpu_limit: 1 second
3+
difficulty: 1.5 Easy
4+
mem_limit: 1024 MB
5+
problemid: cold
6+
submissions: 0
7+
title: Cold-puter Science

assignments/cold/data/cold-001.ans

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

assignments/cold/data/cold-001.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
3
2+
5 -10 15

assignments/cold/data/cold-002.ans

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5

assignments/cold/data/cold-002.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
5
2+
-14 -5 -39 -5 -7

notebooks/Ch02-1-Data-Variables-StdIO.ipynb

+9-25
Original file line numberDiff line numberDiff line change
@@ -1093,13 +1093,7 @@
10931093
"name": "stdout",
10941094
"output_type": "stream",
10951095
"text": [
1096-
"Enter a number => 5\n"
1097-
]
1098-
},
1099-
{
1100-
"name": "stdout",
1101-
"output_type": "stream",
1102-
"text": [
1096+
"Enter a number => 5\n",
11031097
"You entered: 5\n",
11041098
"type of 5 = <class 'str'>\n"
11051099
]
@@ -1250,23 +1244,13 @@
12501244
"\n",
12511245
"## Kattis Problems\n",
12521246
"\n",
1253-
"### Triangle Area\n",
1254-
"- [https://open.kattis.com/problems/triarea](https://open.kattis.com/problems/triarea)\n",
1255-
"\n",
1256-
"### Two-sum\n",
1257-
"- https://open.kattis.com/problems/twosum\n",
1258-
"\n",
1259-
"### Leggja samman \n",
1260-
"- [https://open.kattis.com/problems/leggjasaman](https://open.kattis.com/problems/leggjasaman) \n",
1261-
"\n",
1262-
"### R2\n",
1263-
"- [https://open.kattis.com/problems/r2](https://open.kattis.com/problems/r2)\n",
1264-
"\n",
1265-
"### Amerískur vinnustaður\n",
1266-
"- [https://open.kattis.com/problems/ameriskur](https://open.kattis.com/problems/ameriskur)\n",
1267-
"\n",
1268-
"### Fifa\n",
1269-
"- [https://open.kattis.com/problems/fifa](https://open.kattis.com/problems/fifa)"
1247+
"- Triangle Area - [https://open.kattis.com/problems/triarea](https://open.kattis.com/problems/triarea)\n",
1248+
"- Two-sum - https://open.kattis.com/problems/twosum\n",
1249+
"- Leggja samman - [https://open.kattis.com/problems/leggjasaman](https://open.kattis.com/problems/leggjasaman) \n",
1250+
"- R2 - [https://open.kattis.com/problems/r2](https://open.kattis.com/problems/r2)\n",
1251+
"- Amerískur vinnustaður - [https://open.kattis.com/problems/ameriskur](https://open.kattis.com/problems/ameriskur)\n",
1252+
"- Fifa - [https://open.kattis.com/problems/fifa](https://open.kattis.com/problems/fifa)\n",
1253+
"- Diggy Hole - https://open.kattis.com/problems/grafaholur\n"
12701254
]
12711255
},
12721256
{
@@ -1293,7 +1277,7 @@
12931277
"name": "python",
12941278
"nbconvert_exporter": "python",
12951279
"pygments_lexer": "ipython3",
1296-
"version": "3.10.13"
1280+
"version": "3.10.8"
12971281
}
12981282
},
12991283
"nbformat": 4,

notebooks/Ch04-Conditionals.ipynb

+11-16
Original file line numberDiff line numberDiff line change
@@ -895,20 +895,15 @@
895895
"- Almost every problem involve some form of conditional statements\n",
896896
"- The following problems are good examples of conditional statements and the concepts covered so far:\n",
897897
"\n",
898-
"### Veður - Vindhraði\n",
899-
"- [https://open.kattis.com/problems/vedurvindhradi](https://open.kattis.com/problems/vedurvindhradi)\n",
900-
"\n",
901-
"### Úllen dúllen doff\n",
902-
"- [https://open.kattis.com/problems/ullendullendoff](https://open.kattis.com/problems/ullendullendoff)\n",
903-
"\n",
904-
"### Sith\n",
905-
"- [https://open.kattis.com/problems/sith](https://open.kattis.com/problems/sith)\n",
906-
"\n",
907-
"### Two Stones\n",
908-
"- [https://open.kattis.com/problems/twostones](https://open.kattis.com/problems/twostones)\n",
909-
"\n",
910-
"### Adding Trouble\n",
911-
"- [https://open.kattis.com/problems/adding](https://open.kattis.com/problems/adding)\n"
898+
"- Veður - Vindhraði - [https://open.kattis.com/problems/vedurvindhradi](https://open.kattis.com/problems/vedurvindhradi)\n",
899+
"- A Terrible Fortress - https://open.kattis.com/problems/aterriblefortress\n",
900+
"- Úllen dúllen doff - [https://open.kattis.com/problems/ullendullendoff](https://open.kattis.com/problems/ullendullendoff)\n",
901+
"- Sith - [https://open.kattis.com/problems/sith](https://open.kattis.com/problems/sith)\n",
902+
"- Two Stones - [https://open.kattis.com/problems/twostones](https://open.kattis.com/problems/twostones)\n",
903+
"- Adding Trouble - [https://open.kattis.com/problems/adding](https://open.kattis.com/problems/adding)\n",
904+
"- Staying Frosty https://open.kattis.com/problems/stayingfrosty\n",
905+
"- Wake up call https://open.kattis.com/problems/wakeupcall\n",
906+
"- Pigeon-holes - https://open.kattis.com/problems/dufuskuffur"
912907
]
913908
},
914909
{
@@ -921,7 +916,7 @@
921916
],
922917
"metadata": {
923918
"kernelspec": {
924-
"display_name": "Python 3",
919+
"display_name": "Python 3 (ipykernel)",
925920
"language": "python",
926921
"name": "python3"
927922
},
@@ -935,7 +930,7 @@
935930
"name": "python",
936931
"nbconvert_exporter": "python",
937932
"pygments_lexer": "ipython3",
938-
"version": "3.8.3"
933+
"version": "3.10.8"
939934
}
940935
},
941936
"nbformat": 4,

notebooks/Ch05-Iterations.ipynb

+9-7
Original file line numberDiff line numberDiff line change
@@ -922,12 +922,14 @@
922922
"- almost every problem involves some form of loops!\n",
923923
"- problems you may be able to solve from concepts learned so far:\n",
924924
"\n",
925-
"1. Oddities - https://open.kattis.com/problems/oddities\n",
926-
"2. Odd Echo - https://open.kattis.com/problems/oddecho\n",
927-
"3. FizzBuzz - https://open.kattis.com/problems/fizzbuzz\n",
928-
"4. Quality-Adjust Life-Year - https://open.kattis.com/problems/qaly\n",
929-
"4. Jumbo Javelin - https://open.kattis.com/problems/jumbojavelin\n",
930-
"5. Rating Problems - https://open.kattis.com/problems/ratingproblems"
925+
"- Oddities - https://open.kattis.com/problems/oddities\n",
926+
"- A Terrible Fortress - https://open.kattis.com/problems/aterriblefortress\n",
927+
"- Odd Echo - https://open.kattis.com/problems/oddecho\n",
928+
"- FizzBuzz - https://open.kattis.com/problems/fizzbuzz\n",
929+
"- Jumbo Javelin - https://open.kattis.com/problems/jumbojavelin\n",
930+
"- Rating Problems - https://open.kattis.com/problems/ratingproblems\n",
931+
"- Quality-Adjust Life-Year - https://open.kattis.com/problems/qaly\n",
932+
"- File Extension - https://open.kattis.com/problems/nafnauki"
931933
]
932934
},
933935
{
@@ -954,7 +956,7 @@
954956
"name": "python",
955957
"nbconvert_exporter": "python",
956958
"pygments_lexer": "ipython3",
957-
"version": "3.11.5"
959+
"version": "3.10.8"
958960
}
959961
},
960962
"nbformat": 4,

notebooks/Ch06-Strings.ipynb

+20-17
Original file line numberDiff line numberDiff line change
@@ -1992,21 +1992,24 @@
19921992
"source": [
19931993
"## Kattis problems\n",
19941994
"\n",
1995-
"1. Avion - https://open.kattis.com/problems/avion\n",
1996-
"2. Apaxiaans - https://open.kattis.com/problems/apaxiaaans\n",
1997-
"3. Hissing Microphone - https://open.kattis.com/problems/hissingmicrophone\n",
1998-
"4. Reversed Binary Numbers - https://open.kattis.com/problems/reversebinary\n",
1999-
"5. Kemija - https://open.kattis.com/problems/kemija08\n",
2000-
"6. Simon Says - https://open.kattis.com/problems/simonsays\n",
2001-
"7. Simon Says - https://open.kattis.com/problems/simon\n",
2002-
"8. Quite a Problem - https://open.kattis.com/problems/quiteaproblem\n",
2003-
"9. Eligibility - https://open.kattis.com/problems/eligibility\n",
2004-
"10. Charting Progress - https://open.kattis.com/problems/chartingprogress\n",
2005-
"11. Pig Latin - https://open.kattis.com/problems/piglatin\n",
2006-
"12. Battle Simulation - https://open.kattis.com/problems/battlesimulation\n",
2007-
"13. Palindromic Password - https://open.kattis.com/problems/palindromicpassword\n",
2008-
"14. Image Decoding - https://open.kattis.com/problems/imagedecoding\n",
2009-
"15. Viðsnúningur - [https://open.kattis.com/problems/vidsnuningur](https://open.kattis.com/problems/vidsnuningur)"
1995+
"- Avion - https://open.kattis.com/problems/avion\n",
1996+
"- Apaxiaans - https://open.kattis.com/problems/apaxiaaans\n",
1997+
"- Hissing Microphone - https://open.kattis.com/problems/hissingmicrophone\n",
1998+
"- Contrarianism - https://open.kattis.com/problems/andmal\n",
1999+
"- Reversed Binary Numbers - https://open.kattis.com/problems/reversebinary\n",
2000+
"- Kemija - https://open.kattis.com/problems/kemija08\n",
2001+
"- Simon Says - https://open.kattis.com/problems/simonsays\n",
2002+
"- Simon Says - https://open.kattis.com/problems/simon\n",
2003+
"- Quite a Problem - https://open.kattis.com/problems/quiteaproblem\n",
2004+
"- Eligibility - https://open.kattis.com/problems/eligibility\n",
2005+
"- Charting Progress - https://open.kattis.com/problems/chartingprogress\n",
2006+
"- Pig Latin - https://open.kattis.com/problems/piglatin\n",
2007+
"- Battle Simulation - https://open.kattis.com/problems/battlesimulation\n",
2008+
"- Palindromic Password - https://open.kattis.com/problems/palindromicpassword\n",
2009+
"- Image Decoding - https://open.kattis.com/problems/imagedecoding\n",
2010+
"- Viðsnúningur - [https://open.kattis.com/problems/vidsnuningur](https://open.kattis.com/problems/vidsnuningur)\n",
2011+
"- File Extension - https://open.kattis.com/problems/nafnauki\n",
2012+
"- Getting Wood - https://open.kattis.com/problems/gettingwood"
20102013
]
20112014
},
20122015
{
@@ -2019,7 +2022,7 @@
20192022
],
20202023
"metadata": {
20212024
"kernelspec": {
2022-
"display_name": "Python 3",
2025+
"display_name": "Python 3 (ipykernel)",
20232026
"language": "python",
20242027
"name": "python3"
20252028
},
@@ -2033,7 +2036,7 @@
20332036
"name": "python",
20342037
"nbconvert_exporter": "python",
20352038
"pygments_lexer": "ipython3",
2036-
"version": "3.8.11"
2039+
"version": "3.10.8"
20372040
}
20382041
},
20392042
"nbformat": 4,

0 commit comments

Comments
 (0)