Friday the 13th, Programmers Day

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
345 Friday the 13th, Programmers Day FINISHED False 7200 397405185 Sept. 13, 2013, 3:40 p.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 52 ) F Superstitions Inspection PROGRAMMING *special 2800

You read scientific research regarding popularity of most famous superstitions across various countries, and you want to analyze their data. More specifically, you want to know which superstitions are popular in most countries. The data is given as a single file in the following format: country name on a separate line, followed by a list of superstitions popular in it, one entry per line. Each entry of the list is formatted as an asterisk " * " followed by a single space and then by the superstition name. Entries are unique within each country. The first line of input will represent a country. The input will contain at least one superstition. Country name is a non-empty sequence of words, where each word consists of only English letters. The words of the name of some country will be separated in input with one or more spaces. Superstition name is a non-empty sequence of words, where each word consists of only English letters and digits. The words of the name of some superstition will be separated in input with one or more spaces. You can consider two names equal, if corresponding sequences of words are equal. You shouldn't consider the case of the letters when you compare the words. Output the list of superstitions which are observed in the greatest number of countries. It's guaranteed that all countries have distinct names. The input contains between 2 and 50 lines. Every line of input will contain between 1 and 50 characters, inclusive. No line has leading or trailing spaces. Output the list of superstitions which are observed in the greatest number of countries in alphabetical order. Each superstition must be converted to lowercase (one superstition can be written with varying capitalization in different countries). The alphabetical order of superstitions means the lexicographical order of sequences of words (their names).

Tutorials

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
4919630 konstantanter F Oct. 28, 2013, 1:14 p.m. OK Ada TESTS 36 15 102400 2800
16349191 Yazan_Eagle F Feb. 26, 2016, 3:09 p.m. OK Ada TESTS 36 30 0 2800
14875639 alishaterian F Dec. 19, 2015, 12:43 p.m. OK Ada TESTS 36 30 0 2800
14622500 LashaorGela F Dec. 2, 2015, 4:06 p.m. OK Ada TESTS 36 30 0 2800
14296887 Mr.Amir F Nov. 16, 2015, 11:44 a.m. OK Ada TESTS 36 30 0 2800
14226971 giorgu.jaiani F Nov. 13, 2015, 1:11 p.m. OK Ada TESTS 36 30 0 2800
14042686 130705009 F Nov. 3, 2015, 2:03 p.m. OK Ada TESTS 36 30 0 2800
13933857 saba2003 F Oct. 29, 2015, 1:23 p.m. OK Ada TESTS 36 30 0 2800
13572823 saba001 F Oct. 12, 2015, 11:59 a.m. OK Ada TESTS 36 30 0 2800
10497976 Ozzy_Ozbourne F March 28, 2015, 8:54 a.m. OK Ada TESTS 36 30 0 2800

remove filters

Back to search problems