aboutsummaryrefslogtreecommitdiff
path: root/Semestr 3/pf/lista2/dwa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Semestr 3/pf/lista2/dwa.cpp')
-rw-r--r--Semestr 3/pf/lista2/dwa.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/Semestr 3/pf/lista2/dwa.cpp b/Semestr 3/pf/lista2/dwa.cpp
deleted file mode 100644
index ba023d6..0000000
--- a/Semestr 3/pf/lista2/dwa.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-#include <iostream>
-using namespace std;
-
-int t[1000004];
-
-int main()
-{
- int i = 0;
- while (true)
- {
- cin >> t[i];
- if (t[i] == -1)
- break;
- i++;
- }
- for (int j = 0; j < i; j += 2)
- cout << t[j] << " ";
- cout << "-1\n";
- for (int j = 1; j < i; j += 2)
- cout << t[j] << " ";
- cout << "-1\n";
-} \ No newline at end of file