Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#include
using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; if(a >= b and a >= c and a >= d) { if(b >= c and b >= d) { if(c >= d) { cout << a << " " << b << " " << c << " " << d << endl; } else { cout << a << " " << b << " " << d << " " << c << endl; } } else if(c >= b and c >= d) { if(b >= d) { cout << a << " " << c << " " << b << " " << d << endl; } else { cout << a << " " << c << " " << d << " " << b << endl; } } else if(d >= b and d >= c) { if(b >= c) { cout << a << " " << d << " " << b << " " << c << endl; } else { cout << a << " " << d << " " << c << " " << b << endl; } } } else if(b >= a and b >= c and b >= d) { if(a >= c and a >= d) { if(c >= d) { cout << b << " " << a << " " << c << " " << d << endl; } else { cout << b << " " << a << " " << d << " " << c << endl; } } else if(c >= a and c >= d) { if(a >= d) { cout << b << " " << c << " " << a << " " << d << endl; } else { cout << b << " " << c << " " << d << " " << a << endl; } } else if(d >= a and d >= c) { if(a >= c) { cout << b << " " << d << " " << a << " " << c << endl; } else { cout << b << " " << d << " " << c << " " << a << endl; } } } . . . return 0; }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)