Solutions are presented as using the least memory and the fastest execution time. It also takes the top
10 most recent solutions from each language. If you want to limit to a specific index, click the
"Solved" button and go to that problem.
Problems
B'You are given an array of integers. Check whether there exists a number in this array which is divisible by all other numbers in this array. Output 1, if such a number exists, and 0 otherwise. The only line of the input contains a list of space-separated integers ai (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) -- elements of the array. The size of the array is between 2 and 10, inclusive. Note that the size of the array is not given explicitly! Output 1 if there exists element of this array which is divisible by all other elements of the array, and 0 otherwise. '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
17302822 |
Shik |
E |
April 13, 2016, 1:53 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17302625 |
peter50216 |
E |
April 13, 2016, 1:39 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17276041 |
SpoonKiller |
E |
April 11, 2016, 10:28 a.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17274817 |
maxplus |
E |
April 11, 2016, 7:59 a.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17274634 |
sunilsamal |
E |
April 11, 2016, 7:36 a.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17274104 |
utku_mert |
E |
April 11, 2016, 6:20 a.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17272060 |
arcanae |
E |
April 10, 2016, 10:42 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17271027 |
diralik |
E |
April 10, 2016, 8:03 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17270817 |
alex700 |
E |
April 10, 2016, 7:39 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17270062 |
Valdemar |
E |
April 10, 2016, 6:46 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
remove filters
Back to search problems