aboutsummaryrefslogtreecommitdiff
path: root/Semestr 4/aisd/themis/AISDDEBIUT21.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Semestr 4/aisd/themis/AISDDEBIUT21.cpp')
-rw-r--r--Semestr 4/aisd/themis/AISDDEBIUT21.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/Semestr 4/aisd/themis/AISDDEBIUT21.cpp b/Semestr 4/aisd/themis/AISDDEBIUT21.cpp
new file mode 100644
index 0000000..3666d69
--- /dev/null
+++ b/Semestr 4/aisd/themis/AISDDEBIUT21.cpp
@@ -0,0 +1,24 @@
+/*
+ * Autor: Franciszek Malinka
+ * Numer indeksu: 316093
+ * ProwadzÄ…cy: WJA
+ */
+
+#include <bits/stdc++.h>
+using namespace std;
+
+int main()
+{
+ ios_base::sync_with_stdio(false);
+ cin.tie();
+ int a, b;
+ cin >> a >> b;
+ for (int i = a; i <= b; i++)
+ {
+ if (i % 2021 == 0)
+ {
+ cout << i << " ";
+ }
+ }
+ cout << "\n";
+} \ No newline at end of file