Untitled
unknown
c_cpp
2 years ago
846 B
2
Indexable
// А Я БАРБИ ГЁРЛ, и я люблю ДИРООЛ //Ведь он с ксилитом и даже карбонитом, ещё люблю тик-так #include <iostream> #include <string> using namespace std; int main(){ setlocale(LC_ALL, "russian"); int number = 0; cin >> number; int max = 0;int y = 0;int sum = 0;int six = 0; if (number / 1000 == 0) { while (number != 0) { y = number % 10; if (y > max) { max = y; } sum += y; number /= 10; } if (sum % 2 == 0) { cout << max; } } if (number / 1000 != 0) { while (number != 0) { if (number % 10 == 6) { six++; } number /= 10; } if (six == 3) { for (int sis = 0; sis < 6666; sis++) { cout << "ИЗЫДИ САТАНА НА_НА_НА_НА_НА\n"; } } } }
Editor is loading...
Leave a Comment