aboutsummaryrefslogtreecommitdiff
path: root/UVA/Introduction
diff options
context:
space:
mode:
Diffstat (limited to 'UVA/Introduction')
-rw-r--r--UVA/Introduction/RelationalOperators/main.cpp28
-rw-r--r--UVA/Introduction/TheSnail/main.cpp23
2 files changed, 51 insertions, 0 deletions
diff --git a/UVA/Introduction/RelationalOperators/main.cpp b/UVA/Introduction/RelationalOperators/main.cpp
new file mode 100644
index 0000000..6f03abd
--- /dev/null
+++ b/UVA/Introduction/RelationalOperators/main.cpp
@@ -0,0 +1,28 @@
+#include<bits/stdc++.h>
+
+using namespace std;
+
+typedef long long ll;
+typedef pair<int, int> ii;
+typedef vector<ii> vii;
+typedef vector<int> vi;
+
+#define INF 1000000000
+
+int main () {
+ ios_base::sync_with_stdio(false);
+ cin.tie(NULL);
+ int tt;
+ cin >> tt;
+ while(tt--) {
+ int n, m;
+ cin >> n >> m;
+ if (n < m) {
+ cout << "<" << '\n';
+ } else if (n > m) {
+ cout << ">" << '\n';
+ } else {
+ cout << "=" << '\n';
+ }
+ }
+}
diff --git a/UVA/Introduction/TheSnail/main.cpp b/UVA/Introduction/TheSnail/main.cpp
new file mode 100644
index 0000000..bdc2bf0
--- /dev/null
+++ b/UVA/Introduction/TheSnail/main.cpp
@@ -0,0 +1,23 @@
+#include<bits/stdc++.h>
+
+using namespace std;
+
+typedef long long ll;
+typedef pair<int, int> ii;
+typedef vector<ii> vii;
+typedef vector<int> vi;
+
+#define INF 1000000000
+
+int main () {
+ ios_base::sync_with_stdio(false);
+ cin.tie(NULL);
+ int h, u, d, f, i = 1;
+ while(cin >> h >> u >> d >> f) {
+ vi v(100);
+ v[i] = h -
+
+
+
+ }
+}