Unknown Language Round 2

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.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
72 Unknown Language Round 2 FINISHED False 10800 475854585 March 20, 2011, 4:10 p.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 482 ) I Goofy Numbers PROGRAMMING *special implementation 1500

The non-negative integer a is a divisor of the non-negative integer b if and only if there exists a positive integer c such that a × c = b . Some numbers are really interesting. Commander Surena defines some interesting properties for non-negative integers: An integer is happy if it is divisible by at least one of its digits and not by all of them. An integer is happier if it is divisible by all of its digits. An integer is upset if it's divisible by none of its digits. Surena asks you to find out if a given number is happy, happier or upset. Input contains a single non-negative integer n ( 1 ≤ n ≤ 10 8 ). Write on a single line the type of the integer: happy , happier or upset . Print the type in lowercase letters. In the second test 29994 is only divisible by 2 . In the third test 23 is a prime number.

Tutorials

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3818171 yermak0v I June 3, 2013, 9:30 a.m. OK Io TESTS 44 156 307200 1500
3669349 Omelianenko I May 4, 2013, 1:40 p.m. OK Io TESTS 44 156 307200 1500
2855820 mkirsche I Dec. 30, 2012, 6:51 a.m. OK Io TESTS 44 156 307200 1500
1375064 Orfest I March 18, 2012, 9:52 a.m. OK Io TESTS 44 170 4608000 1500
1374042 liuyubobobo I March 17, 2012, 9 p.m. OK Io TESTS 44 170 4608000 1500
1125162 ZhouYuChen I Jan. 29, 2012, 10:28 a.m. OK Io TESTS 44 170 4608000 1500
1123606 ZhouYuChen I Jan. 28, 2012, 12:23 p.m. OK Io TESTS 44 170 4608000 1500
613499 Dunaril I Aug. 17, 2011, 5:58 a.m. OK Io TESTS 44 170 4608000 1500
482782 MAK I June 8, 2011, 7:01 a.m. OK Io TESTS 44 170 4608000 1500
422850 A.K.Goharshady I May 3, 2011, 10:01 a.m. OK Io TESTS 44 170 4608000 1500

remove filters

Back to search problems