buggy_code
stringlengths
11
625k
fixed_code
stringlengths
17
625k
bug_type
stringlengths
2
4.45k
language
int64
0
8
token_count
int64
5
200k
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
56
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "YES\n"; } else { cout << "NO\n"; } }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes\n"; } else { cout << "No\n"; } }
[["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]]
1
56
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a < b < c) printf("Yes\n"); else printf("No\n"); return 0; }
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a < b && b < c) printf("Yes\n"); else printf("No\n"); return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
61
#include <iostream> using namespace std; int main(void) { int a; int b; int c; std::cin >> a >> b >> c; if (a < b < c) { std::cout << "Yes" << std::endl; } else { std::cout << "No" << std::endl; } }
#include <iostream> using namespace std; int main(void) { int a; int b; int c; std::cin >> a >> b >> c; if (a < b && b < c) { std::cout << "Yes" << std::endl; } else { std::cout << "No" << std::endl; } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
69
#include <iostream> using namespace std; int main() { int a; int b; int c; cin >> a; cin >> b; cin >> c; if (a < b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <iostream> using namespace std; int main() { int a; int b; int c; cin >> a; cin >> b; cin >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
62
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if ((c - b) > 0 && (b - a) > 0) { cout << 'Yes' << endl; } else { cout << 'No' << endl; } return 0; }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if ((c - b) > 0 && (b - a) > 0) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 104], ["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["-", 0, 16, 31, 16, 12, 103, 0, 42, 0, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
71
#include <iostream> int main() { int a, b, c; std::cin >> a; std::cin >> b; std::cin >> c; if (a < b < c) { std::cout << "Yes" << std::endl; } else { std::cout << "No" << std::endl; } }
#include <iostream> int main() { int a, b, c; std::cin >> a; std::cin >> b; std::cin >> c; if (a < b && b < c) { std::cout << "Yes" << std::endl; } else { std::cout << "No" << std::endl; } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
70
#include <iostream> using namespace std; int main() { int x; int y; int z; cin >> x >> y >> z; if (x > y && y > z) { cout << "Yes\n"; } else { cout << "No\n"; } return 0; }
#include <iostream> using namespace std; int main() { int x; int y; int z; cin >> x >> y >> z; if (x < y && y < z) { cout << "Yes\n"; } else { cout << "No\n"; } return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]]
1
61
#include <iostream> using namespace std; main() { int a, b, c; cin >> a >> b >> c; if (a > b && b > c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <iostream> using namespace std; main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]]
1
57
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && a < c) { if (b < c) cout << "YES" << endl; else cout << "NO" << endl; } else cout << "NO" << endl; }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && a < c) { if (b < c) cout << "Yes" << endl; else cout << "No" << endl; } else cout << "No" << endl; }
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
71
#include <iostream> using namespace std; int main() { int k, s, n; cin >> k >> s >> n; if (k < s < n) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <iostream> using namespace std; int main() { int k, s, n; cin >> k >> s >> n; // if(k < s && s < n) if (k < s && s < n) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
55
#include <iostream> using namespace std; int main(void) { int a; int b; int c; std::cin >> a; cin >> b; cin >> c; if (a < b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <iostream> using namespace std; int main(void) { int a; int b; int c; std::cin >> a; cin >> b; cin >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
65
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a; cin >> b; cin >> c; if (a < b) { if (b < c) { cout << "Yes" << endl; } } else { cout << "No" << endl; } }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a; cin >> b; cin >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["-", 0, 14, 8, 9, 0, 57, 15, 339, 0, 25], ["-", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["-", 8, 9, 0, 57, 64, 9, 0, 57, 0, 121], ["-", 0, 57, 64, 9, 0, 57, 15, 339, 0, 24], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["-", 0, 57, 64, 9, 0, 57, 64, 9, 0, 46]]
1
66
#include <iostream> using namespace std; int main() { int a = 0; int b = 0; int c = 0; cin >> a; cin >> b; cin >> c; if (a < b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int a = 0; int b = 0; int c = 0; cin >> a; cin >> b; cin >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
71
#include <algorithm> #include <iostream> #include <stdio.h> using namespace std; int main() { int i, j, x, y, z, a, b, c; cin >> a >> b >> c; if (a < b && a < c && b < c) { printf("YES\n"); } else { printf("NO\n"); } }
#include <algorithm> #include <iostream> #include <stdio.h> using namespace std; int main() { int i, j, x, y, z, a, b, c; cin >> a >> b >> c; if (a < b && a < c && b < c) { printf("Yes\n"); } else { printf("No\n"); } }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
76
//============================================================================ // Name : ITP_1_2_B.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include ...
//============================================================================ // Name : ITP_1_2_B.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include ...
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
68
#include <stdio.h> int main(void) { int a; int b; int c; scanf("%d%d%d", &a, &b, &c); if (a < b < c) { printf("Yes\n"); } else { printf("No\n"); } getchar(); return 0; }
#include <stdio.h> int main(void) { int a; int b; int c; scanf("%d%d%d", &a, &b, &c); if (a < b && b < c) { printf("Yes\n"); } else { printf("No\n"); } getchar(); return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
70
#include <algorithm> #include <cstdio> #include <cstring> #include <functional> using namespace std; int main(void) { int a, b, c, x; scanf("%d %d %d", &a, &b, &c); if (a < b < c) printf("Yes\n"); else printf("No\n"); return 0; }
#include <algorithm> #include <cstdio> #include <cstring> #include <functional> using namespace std; int main(void) { int a, b, c, x; scanf("%d %d %d", &a, &b, &c); if (a < b && b < c) printf("Yes\n"); else printf("No\n"); return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
72
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a; cin >> b; cin >> c; if (a < b < c) cout << "Yes" << endl; else cout << "No" << endl; }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a; cin >> b; cin >> c; if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
56
#include <cstdio> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if ((a < b) && (b < c)) { printf("Yes\n"); } else { printf("no\n"); } return 0; }
#include <cstdio> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if ((a < b) && (b < c)) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
69
#include <stdio.h> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < b < c) { printf("Yes\n"); } else { printf("No\n"); } }
#include <stdio.h> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < b && b < c) { printf("Yes\n"); } else { printf("No\n"); } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
60
#include <iostream> #include <stdio.h> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < b and b < c) { std::cout << "yes\n"; } else { std::cout << "no\n"; } return 0; }
#include <iostream> #include <stdio.h> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < b and b < c) { std::cout << "Yes\n"; } else { std::cout << "No\n"; } return 0; }
[["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]]
1
69
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a << b && b << c) { cout << "Yes\n"; } else { cout << "No\n"; } }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes\n"; } else { cout << "No\n"; } }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 151], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 151], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]]
1
56
#include <iostream> #include <math.h> #include <stdio.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) cout << "YES" << endl; else cout << "NO" << endl; }
#include <iostream> #include <math.h> #include <stdio.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; }
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
58
#include <iostream> using namespace std; int main() { int n[3]; int tmp = 0; for (int i = 0; i < 3; i++) { cin >> n[i]; } for (int i = 0; i < 2; i++) { if (n[i] > n[i + 1]) { cout << "No" << endl; tmp++; break; } } if (tmp == 0) cout << "Yes" << endl; }
#include <iostream> using namespace std; int main() { int n[3]; int tmp = 0; for (int i = 0; i < 3; i++) { cin >> n[i]; } for (int i = 0; i < 2; i++) { if (n[i] >= n[i + 1]) { cout << "No" << endl; tmp++; break; } } if (tmp == 0) cout << "Yes" << endl; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
105
#include <iostream> using namespace std; int main() { int a, b, c, d = 0; cin >> a >> b >> c; if (a < b < c) { cout << "Yes" << endl; d = 1; } if (d == 0) { cout << "No" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int a, b, c, d = 0; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; d = 1; } if (d == 0) { cout << "No" << endl; } return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
72
#include <cstdio> int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a > b && b > c) { printf("Yes"); } else { printf("No"); } return 0; }
#include <cstdio> int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a < b && b < c) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
1
63
#include <cstdio> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < b < c) printf("Yes\n"); else printf("No\n"); }
#include <cstdio> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < b && b < c) printf("Yes\n"); else printf("No\n"); }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
56
#include <algorithm> #include <cmath> #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) cout << "yes" << endl; else cout << "No" << endl; return 0; }
#include <algorithm> #include <cmath> #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
61
#include <stdio.h> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < b < c) { printf("Yes"); } else { printf("No"); } }
#include <stdio.h> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < b && b < c) { printf("Yes\n"); } else { printf("No\n"); } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
1
58
#include <iostream> int main() { int a, b, c; std::cin >> a >> b >> c; if (a < b && b << c) { std::cout << "Yes\n"; } else { std::cout << "No\n"; } }
#include <iostream> int main() { int a, b, c; std::cin >> a >> b >> c; if (a < b && b < c) { std::cout << "Yes\n"; } else { std::cout << "No\n"; } }
[["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 151], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]]
1
58
#include <iostream> #include <stdio.h> using namespace std; int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a < b < c) printf("Yes\n"); else printf("No\n"); }
#include <iostream> #include <stdio.h> using namespace std; int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a < b && b < c) printf("Yes\n"); else printf("No\n"); }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
62
#include <stdio.h> int main(void) { int a, b, c = 0; scanf("%d%d%d", &a, &b, &c); if (a < b < c) printf("Yes\n"); else printf("No\n"); }
#include <stdio.h> int main(void) { int a, b, c = 0; scanf("%d%d%d", &a, &b, &c); if ((a < b) && (b < c)) printf("Yes\n"); else printf("No\n"); }
[["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 24], ["+", 15, 339, 51, 16, 31, 23, 0, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 24], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 25]]
1
59
#include <iostream> using namespace std; int main(int argc, const char *argv[]) { int a, b, c; cin >> a >> b >> c; if (a < b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } // insert code here... // cout << "Hello, World!\n"; return 0; }
#include <iostream> using namespace std; int main(int argc, const char *argv[]) { { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } // insert code here... // cout << "Hello, World!\n"; return 0; } }
[["+", 0, 30, 0, 14, 8, 9, 0, 9, 0, 45], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 0, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 30, 0, 14, 8, 9, 0, 9, 0, 46]]
1
70
#include <iostream> int main() { int a, b, c; std::cin >> a >> b >> c; std::cout << (a < b && b < c ? "YES" : "NO") << std::endl; }
#include <iostream> int main() { int a, b, c; std::cin >> a >> b >> c; std::cout << (a < b && b < c ? "Yes" : "No") << std::endl; }
[["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]]
1
51
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a << b && b << c) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 151], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 151], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]]
1
62
#include <iostream> using namespace std; int main() { int a; int b; int c; cin >> a >> b >> c; if (a < b < c) cout << "Yes" << endl; else cout << "No" << endl; }
#include <iostream> using namespace std; int main() { int a; int b; int c; cin >> a >> b >> c; if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
54
#include <iostream> #define CI cin >> #define CO cout << #define E << endl; using namespace std; int main(void) { int a = 0, b = 0, c = 0; CI a >> b >> c; if (a > b && b > c) { CO "Yes" E } else { CO "No" E } }
#include <iostream> #define CI cin >> #define CO cout << #define E << endl; using namespace std; int main(void) { int a = 0, b = 0, c = 0; CI a >> b >> c; if (a < b && b < c) { CO "Yes" E } else { CO "No" E } }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]]
1
70
#include <iostream> int main(void) { int x, y, z; std::cin >> x; std::cin >> y; std::cin >> z; if (x < y < z) { std::cout << "Yes" << std::endl; } else { std::cout << "No" << std::endl; } return 0; }
#include <iostream> int main(void) { int x, y, z; std::cin >> x; std::cin >> y; std::cin >> z; if (x < y && y < z) { std::cout << "Yes" << std::endl; } else { std::cout << "No" << std::endl; } return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
74
#include <iostream> int main() { int a, b, c; std::cin >> a >> b; if ((a < b) && (b < c)) { std::cout << "Yes\n"; } else { std::cout << "No\n"; } return 0; }
#include <iostream> int main() { int a, b, c; std::cin >> a >> b >> c; if ((a < b) && (b < c)) { std::cout << "Yes\n"; } else { std::cout << "No\n"; } return 0; }
[["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]]
1
63
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
57
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b || b < c) cout << "Yes"; else cout << "No"; cout << endl; }
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) cout << "Yes"; else cout << "No"; cout << endl; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]]
1
55
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (c == ((a < b) ? ((b < c) ? c : 0) : 0)) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (true == ((a < b) ? ((b < c) ? true : false) : false)) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 146], ["-", 12, 23, 0, 41, 64, 23, 0, 41, 64, 22], ["+", 12, 23, 0, 41, 64, 23, 0, 41, 64, 146], ["-", 12, 23, 0, 41, 64, 23, 0, 41, 75, 13], ["+", 12, 23, 0, 41, 64, 23, 0, 41, 75, 147], ["-", 15, 339, 51, 16, 12, 23, 0, 41, 75, 13],...
1
77
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "yes" << endl; } else { cout << "no" << endl; } return 0; }
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
62
#include <iostream> using namespace std; void judge() { int a, b, c; cin >> a; cin >> b; cin >> c; if (a < b) { if (b < c) { cout << "YES" << endl; } else { cout << "NO" << endl; } } else { cout << "NO" << endl; } } int main(int argc, const char *argv[]) { judge(); return ...
#include <iostream> using namespace std; void judge() { int a, b, c; cin >> a; cin >> b; cin >> c; if (a < b) { if (b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } } else { cout << "No" << endl; } } int main(int argc, const char *argv[]) { judge(); return ...
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
99
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<ll> vl; typedef complex<double> P; typedef pair<int, int> pii; #define REP(i, n) for (ll i = 0; i < n; ++i) #define REPR(i, n) for (ll i = 1; i < n; ++i) #define FOR(i, a, b) for (ll i = a; i < b; ++i) #define ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<ll> vl; typedef complex<double> P; typedef pair<int, int> pii; #define REP(i, n) for (ll i = 0; i < n; ++i) #define REPR(i, n) for (ll i = 1; i < n; ++i) #define FOR(i, a, b) for (ll i = a; i < b; ++i) #define ...
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
154
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> b; if (a < b && b < c) { puts("Yes"); } else { puts("No"); } return 0; }
#include <cstdio> #include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { puts("Yes"); } else { puts("No"); } return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]]
1
62
#include <stdio.h> int main(void) { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a < b && b < c) printf("yes\n"); else printf("no\n"); return 0; }
#include <stdio.h> int main(void) { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a < b && b < c) printf("Yes\n"); else printf("No\n"); return 0; }
[["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
62
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b < c) { cout << "Yes" << "\n"; } else { cout << "No" << "\n"; } }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << "\n"; } else { cout << "No" << "\n"; } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
60
// Example program #include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int a; int b; int c; cin >> a; cin >> b; cin >> c; if (a < b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
// Example program #include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int a; int b; int c; cin >> a; cin >> b; cin >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
67
#include <iostream> using namespace std ; int main() { int a, b, c; cin >> a >> b >> c; if (a < b < c) { cout << "Yes" << "\n"; } else { cout << "No" << "\n"; } return 0; }
#include <iostream> using namespace std ; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << "\n"; } else { cout << "No" << "\n"; } return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
63
#include <stdio.h> int main() { int a, b, c; scanf("%d %d %d\n", &a, &b, &c); if (a < b < c) printf("Yes"); else printf("No"); return 0; }
#include <stdio.h> int main() { int a, b, c; scanf("%d %d %d\n", &a, &b, &c); if (a < b & b < c) printf("Yes\n"); else printf("No\n"); return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 67], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
1
58
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a > b && b > c) cout << "Yes"; else cout << "No"; return 0; }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) cout << "Yes\n"; else cout << "No\n"; return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 44], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 44]]
1
53
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "yes" << endl; } else { cout << "no" << endl; } }
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
59
#include "stdio.h" #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b < c) { cout << "YES" << endl; } else { cout << "NO" << endl; } return 0; }
#include "stdio.h" #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
63
#include <iostream> #include <string> using namespace std; int main() { int a, b, c; string str; cin >> a; cin >> b; cin >> c; if (a < b < c) str = "Yes"; else str = "No"; cout << str << endl; return 0; }
#include <iostream> #include <string> using namespace std; int main() { int a, b, c; string str; cin >> a; cin >> b; cin >> c; if (a < b && b < c) str = "Yes"; else str = "No"; cout << str << endl; return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
66
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a > b > c) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
#include <iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]]
1
60
#include <iostream> #include <math.h> using namespace std; int main() { int a, b, c; a = b = c = 0; cin >> a; cin >> b; cin >> c; if (a < b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <iostream> #include <math.h> using namespace std; int main() { int a, b, c; a = b = c = 0; cin >> a; cin >> b; cin >> c; if ((a < b) && (b < c)) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 24], ["+", 15, 339, 51, 16, 31, 23, 0, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 24], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 25]]
1
70
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b || b < c || a < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c && a < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 106], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 98], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]]
1
62
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main(void) { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < c && b < c) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main(void) { int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < c && b < c && a < b) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 22]]
1
68
#include <fstream> #include <iostream> #include <string> using namespace std; int main() { #ifdef CIN ifstream cin("input.txt"); ofstream cout("output.txt"); #endif int a, b, c; cin >> a >> b >> c; if (a < b < c) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <fstream> #include <iostream> #include <string> using namespace std; int main() { #ifdef CIN ifstream cin("input.txt"); ofstream cout("output.txt"); #endif int a, b, c; cin >> a >> b >> c; if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
78
#include <iostream> using namespace std; int main() { long a, b, c; cin >> a >> b >> c; if (a < b < c) { cout << "Yes"; } else { cout << "No"; } cout << endl; return 0; }
#include <iostream> using namespace std; int main() { long a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes"; } else { cout << "No"; } cout << endl; return 0; }
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]]
1
59
// itp1_2_a #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) cout << "YES" << endl; else cout << "NO" << endl; return 0; }
// itp1_2_a #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
58
a, b, c = gets.split(" ").map(&:to_i) if b.between?(a, c) and !(a == b) and !(b == c) puts "YES" else puts "NO" end
a, b, c = gets.split(" ").map(&:to_i) if b.between?(a, c) and !(a == b) and !(b == c) puts "Yes" else puts "No" end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
53
a,b,c=gets.split.map &:to_i;puts a<b&&b<c ?"YES":"NO"
a,b,c=gets.split.map &:to_i;puts a<b&&b<c ?"Yes":"No"
[["-", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["-", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6]]
4
30
numbers = gets.split.map!{|item| item.to_i} if numbers[0] < numbers[1] && numbers[1] < numbers[2] then print "YES\n" else print "NO\n" end
numbers = gets.split.map!{|item| item.to_i} if numbers[0] < numbers[1] && numbers[1] < numbers[2] then print "Yes\n" else print "No\n" end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
48
val1, val2, val3 = gets.split(" ").map(&:to_i) if val1 < val2 < val3 puts "Yes" else puts "No" end
val1, val2, val3 = gets.split(" ").map(&:to_i) if val1 < val2 && val2 < val3 puts "Yes" else puts "No" end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
36
a,b,c = gets.chomp.split.map(&:to_i) if a<b then if b<c then puts "Yes" else puts "No" end end
a,b,c = gets.chomp.split.map(&:to_i) if a<b then if b<c then puts "Yes" exit end end puts "No"
[["-", 0, 121, 64, 749, 0, 121, 75, 95, 0, 95], ["+", 0, 121, 64, 749, 0, 121, 64, 749, 0, 22], ["+", 0, 493, 0, 121, 64, 749, 0, 121, 0, 444], ["+", 36, 36, 36, 36, 0, 493, 0, 121, 0, 444], ["-", 0, 493, 0, 121, 64, 749, 0, 121, 0, 444], ["-", 36, 36, 36, 36, 0, 493, 0, 121, 0, 444]]
4
38
a = gets.split.map(&:to_i) if (a[0]<=>a[1]) < 0 && (a[1]<=>a[2]) < 0 then puts "Yes" else puts "NO" end
a = gets.split.map(&:to_i) if (a[0]<=>a[1]) < 0 && (a[1]<=>a[2]) < 0 then puts "Yes" else puts "No" end
[["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
50
a, b, c = gets.split.map { |i| i.to_i } if a < b < c puts "Yes" else puts "No" end
a, b, c = gets.split.map { |i| i.to_i } if a < b && b < c puts "Yes" else puts "No" end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
35
arr = [] arr = gets.split() a = arr[0].to_i b = arr[1].to_i c = arr[2].to_i if a < b < c puts "Yes" else puts "No" end
arr = [] arr = gets.split() a = arr[0].to_i b = arr[1].to_i c = arr[2].to_i if a < b && b < c puts "Yes" else puts "No" end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
51
a, b, c = gets.split(" ").map(&:to_i) puts a < b and b < c ? "Yes" : "No"
a, b, c = gets.split(" ").map(&:to_i) puts (a < b and b < c) ? "Yes" : "No"
[["+", 0, 652, 3, 4, 0, 754, 15, 739, 0, 24], ["+", 0, 652, 3, 4, 0, 754, 15, 739, 0, 25]]
4
36
# -*- coding: utf-8 -*- a, b, c = STDIN.gets.split.map(&:to_i) if a < b < c then puts 'Yes' else puts 'No' end
# -*- coding: utf-8 -*- a, b, c = STDIN.gets.split.map(&:to_i) if a < b && b < c then puts 'Yes' else puts 'No' end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
35
# -*- coding: utf-8 -*- a, b, c = STDIN.gets.split.map(&:to_i) if a < b < c then puts 'Yes' else puts 'No' end
a, b, c = STDIN.gets.split.map(&:to_i) if a < b && b < c then puts 'Yes' else puts 'No' end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
35
a, b, c = gets.split(" ").map(&:to_i) put a < b && b < c ? "Yes" : "No"
a, b, c = gets.split(" ").map(&:to_i) puts a < b && b < c ? "Yes" : "No"
[["-", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22], ["+", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22]]
4
36
# -*- coding: utf-8 -*- a, b, c = STDIN.gets.split.map(&:to_i) if a < b < c puts 'Yes' else puts 'No' end
# -*- coding: utf-8 -*- a, b, c = STDIN.gets.split.map(&:to_i) if a < b && b < c puts 'Yes' else puts 'No' end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
34
a, b, c = STDIN.gets.chomp.split(' ').map(&:to_i) if a < b && b < c puts "YES" else puts "NO" end
a, b, c = STDIN.gets.chomp.split(' ').map(&:to_i) if a < b && b < c puts "Yes" else puts "No" end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
42
a, b, c = gets.split(" ").map(&:to_i) puts a < b < c ? "Yes" : "No"
a, b, c = gets.split(" ").map(&:to_i) puts (a < b && b < c) ? "Yes" : "No"
[["+", 0, 652, 3, 4, 0, 754, 15, 739, 0, 24], ["+", 0, 754, 15, 739, 0, 738, 31, 738, 12, 22], ["+", 3, 4, 0, 754, 15, 739, 0, 738, 17, 98], ["+", 0, 652, 3, 4, 0, 754, 15, 739, 0, 25]]
4
34
a, b, c = gets.split.map(&:to_i) if a < b < c puts "Yes" else puts "No" end
a, b, c = gets.split.map(&:to_i) if a < b && b < c puts "Yes" else puts "No" end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
31
while str = STDIN.gets n = str.split(" ") a = n[0].to_i b = n[1].to_i c = n[2].to_i if a < b && b < c puts "??????" else puts "?????????" end end
while str = STDIN.gets n = str.split(" ") a = n[0].to_i b = n[1].to_i c = n[2].to_i if a < b && b < c puts "Yes" else puts "No" end end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
59
a = gets.split(" ").map{|s| s.to_i}; if a[0] > a[1] && a[1] > a[2] then puts "Yes"; else puts "No"; end
a = gets.split(" ").map{|s| s.to_i}; if a[0] < a[1] && a[1] < a[2] then puts "Yes"; else puts "No"; end
[["-", 0, 493, 0, 121, 15, 738, 31, 738, 17, 47], ["+", 0, 493, 0, 121, 15, 738, 31, 738, 17, 18], ["-", 0, 493, 0, 121, 15, 738, 12, 738, 17, 47], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 17, 18]]
4
54
a, b, c = STDIN.gets.split.map(&:to_i) if a> b then if b> c then puts "Yes" else puts "No" end else puts "No" end
a, b, c = STDIN.gets.split.map(&:to_i) if a< b then if b< c then puts "Yes" else puts "No" end else puts "No" end
[["-", 36, 36, 0, 493, 0, 121, 15, 738, 17, 47], ["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 18], ["-", 0, 121, 64, 749, 0, 121, 15, 738, 17, 47], ["+", 0, 121, 64, 749, 0, 121, 15, 738, 17, 18]]
4
43
a, b, c = STDIN.gets.split.map(&:to_i) if a<b & b<c then puts"Yes" else puts"No" end
a, b, c = STDIN.gets.split.map(&:to_i) if (a < b) & (b < c) then puts"Yes" else puts"No" end
[["+", 0, 493, 0, 121, 15, 738, 31, 739, 0, 24], ["+", 0, 493, 0, 121, 15, 738, 31, 739, 0, 25], ["+", 0, 493, 0, 121, 15, 738, 12, 739, 0, 24], ["+", 0, 493, 0, 121, 15, 738, 12, 739, 0, 25]]
4
36
a, b, c = STDIN.gets.split.map(&:to_i) if a<b & b<c then puts"Yes" else puts"No" end
a, b, c = STDIN.gets.split.map(&:to_i) if a < b && b < c then puts"Yes" else puts"No" end
[["-", 0, 121, 15, 738, 31, 738, 12, 738, 17, 67], ["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98]]
4
36
a, b, c = STDIN.gets.split.map(&:to_i) if (a < b) & (b < c) then puts 'yes' else puts 'no' end
a, b, c = STDIN.gets.split.map(&:to_i) if (a < b) & (b < c) then puts 'Yes' else puts 'No' end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
40
ar = gets.chomp.split.map(&:to_i) if ar[0] < ar[1] && ar[1] < ar[2] puts "YES" else puts "NO" end
ar = gets.chomp.split.map(&:to_i) if ar[0] < ar[1] && ar[1] < ar[2] puts "Yes" else puts "No" end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
43
a, b, c = STDIN.gets.split.map(&:to_i) if a < b < c then puts 'Yes' else puts 'No' end
a, b, c = STDIN.gets.split.map(&:to_i) if a < b && b < c then puts 'Yes' else puts 'No' end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
34
a,b = STDIN.gets.split.map(&:to_i) if a < b && b < c then puts 'Yes' else puts 'No' end
a,b,c = STDIN.gets.split.map(&:to_i) if a < b && b < c then puts 'Yes' else puts 'No' end
[["+", 36, 36, 0, 493, 0, 662, 31, 761, 0, 21], ["+", 36, 36, 0, 493, 0, 662, 31, 761, 0, 22]]
4
34
a,b,c = gets.split(" ").map(&:to_i) if a < b | b < c puts "Yes" else puts "No" end
a,b,c = gets.split(" ").map(&:to_i) if a<b&&b<c puts "Yes" else puts "No" end
[["-", 0, 121, 15, 738, 31, 738, 12, 738, 17, 139], ["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98]]
4
38
a,b,c = gets.chomp.split(" ").map{|x| x.to_i} if a > b && b > c puts "Yes" else puts "No" end
a,b,c = gets.chomp.split(' ').map{|x| x.to_i} if a<b && b<c puts "Yes" else puts "No" end
[["-", 12, 652, 486, 652, 3, 4, 0, 557, 0, 62], ["+", 12, 652, 486, 652, 3, 4, 0, 557, 0, 62], ["-", 0, 493, 0, 121, 15, 738, 31, 738, 17, 47], ["+", 0, 493, 0, 121, 15, 738, 31, 738, 17, 18], ["-", 0, 493, 0, 121, 15, 738, 12, 738, 17, 47], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 17, 18]]
4
44
#!/usr/bin/env ruby # -*- coding: utf-8 -*- if __FILE__ == $0 while line = STDIN.gets tokens = line.chomp!.split.map!(&:to_i) a, b, c = tokens[0], tokens[1], tokens[2] if a > b && b > c puts "Yes" else puts "No" end end end
#!/usr/bin/env ruby # -*- coding: utf-8 -*- if __FILE__ == $0 while line = STDIN.gets tokens = line.chomp!.split.map!(&:to_i) a, b, c = tokens[0], tokens[1], tokens[2] if a < b && b < c puts "Yes" else puts "No" end end end
[["-", 8, 170, 0, 121, 15, 738, 31, 738, 17, 47], ["+", 8, 170, 0, 121, 15, 738, 31, 738, 17, 18], ["-", 8, 170, 0, 121, 15, 738, 12, 738, 17, 47], ["+", 8, 170, 0, 121, 15, 738, 12, 738, 17, 18]]
4
65
n = gets.split(" ") a=n[0].to_i b=n[1].to_i c=n[2].to_i if a < b && b < c puts "yes" else puts "No" end
n = gets.split(" ") a=n[0].to_i b=n[1].to_i c=n[2].to_i if a < b && b < c puts "Yes" else puts "No" end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6]]
4
52
a,b,c = gets.split(" ") a = a.to_i b = b.to_i c = c.to_i if a < b <c puts "Yes" else puts "No" end
a,b,c = gets.split(" ") a = a.to_i b = b.to_i c = c.to_i if a < b && b <c puts "Yes" else puts "No" end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
45
a,b,c = gets.split.map(&:to_i) if a < b < c puts "Yes" else puts "No" end
a,b,c = gets.split.map(&:to_i) if a < b && b < c then puts "Yes" else puts "No" end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22], ["+", 36, 36, 0, 493, 0, 121, 64, 749, 0, 749]]
4
31
a,b,c =gets.chomp.split(' ').map{|x|x.to_i} if a<b && b<c puts "yes" else puts "no" end
a,b,c =gets.chomp.split(' ').map{|x|x.to_i} if a<b && b<c puts "Yes" else puts "No" end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
44
data = gets.split.map{|x| x.to_i} if data[0] < data[1] and data[1] < data[2] puts 'yes' else puts 'no' end
data = gets.split.map{|x| x.to_i} if data[0] < data[1] and data[1] < data[2] puts 'Yes' else puts 'No' end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]]
4
45
a, b, c = gets.split.map(&:to_i) if a < b && b < c puts = "Yes" else puts ="No" end
a, b, c = gets.chomp.split.map(&:to_i) if a < b && b < c puts "Yes" else puts "No" end
[["+", 0, 662, 12, 652, 486, 652, 486, 652, 735, 22], ["+", 0, 493, 0, 662, 12, 652, 486, 652, 17, 131], ["-", 0, 493, 0, 121, 64, 749, 0, 662, 0, 32], ["-", 0, 493, 0, 121, 75, 95, 0, 662, 0, 32]]
4
35
a, b, c = gets.split(" ").map(&:to_i) if a < b < c then puts "Yes" else puts "No" end
a, b, c = gets.split(" ").map(&:to_i) if a < b and b < c then puts "Yes" else puts "No" end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 355], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22]]
4
37
a, b, c = gets.split(" ").map(&:to_i) if a < b < c then puts "Yes" else puts "No" end
a, b, c = gets.split(" ").map(&:to_i) if a < b and b < c puts "Yes" else puts "No" end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 355], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22], ["-", 36, 36, 0, 493, 0, 121, 64, 749, 0, 749]]
4
37
a, b, c = gets.chomp.split.map(&:to_i) if a < b puts "Yes" else puts "No" end
a, b, c = gets.chomp.split.map(&:to_i) if a < b && b < c puts "Yes" else puts "No" end
[["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 31, 22], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 17, 18], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 12, 22]]
4
31