Submit | All submissions | Best solutions | Back to list |
HS12TEST - Test Problem |
You are given four positive integers a, b, c, d. Each of the numbers does not exceed 10. Please compute the minimum and the maximum of them.
Input
Four numbers in one line separated by spaces.
Output
The minimum and the maximum of the given numbers, separated by a space.
Example 1
Input: 4 3 2 1 Output: 1 4
Example 2
Input: 9 8 8 9 Output: 8 9
Scoring
This is a test problem and you will receive no points for solving it.
Added by: | kuszi |
Date: | 2012-09-02 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | ADA95 ASM32 ASM64 BASH BF C CSHARP C++ 4.3.2 CPP C99 CLPS CLOJURE LISP sbcl LISP clisp D ERL FSHARP FORTRAN GO HASK ICON JAVA JS-RHINO LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PERL6 PHP PIKE PRLG-swi PYTHON PYTHON3 RUBY SCALA SCM guile SCM qobi ST TCL WHITESPACE |
Resource: | High School Programming League 2012 |