diff options
Diffstat (limited to 'semestr-4/aisd/themis/AISDDEBIUT21.cpp')
-rw-r--r-- | semestr-4/aisd/themis/AISDDEBIUT21.cpp | 24 |
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 |