Untitled
unknown
plain_text
a year ago
392 B
1
Indexable
Never
#include <iostream> using namespace std; int main() { int A; int B; int b = 0; int c = 0; int d = 0; int e = 0; int v; int m; cin >> A; cin >> B; v = A; m = B; while (A > 0) { c = A % 10; A = A / 10; b += 1; } while (B> 0) { d= A % 10; B = B / 10; e += 1; } if (e > b) { cout << m; } if (b > e) { cout << v; } }