![]() |
.. (לתיקייה המכילה) | |
v1.1 updates | |
question 2: - added a condition to the TV program that there exists some relevant viewer to some broadcast in the specified range. - text with strike-through in SOA section means it is removed. This is due to the fact that it is no longer relevant after the previous correction. - added secondary ordering condition. - NV is the number of viewings (and not viewers). question 3: - in the output of "Similar 2" (in out.txt in test.zip), removed the ids "1" and "5" from the output as it doesn't pass the conditions. question 4: - changed viewers to views in the first condition. |
v1.2 updates | |
GenreRate: - the outputted TV programs should have at least one view. - Empty should also be printed if there is no TV program with the requested genre. Rating: - out.txt was updated for the command "Rating 2006-01-01 2006-01-07" RecoHost: - Empty should also be printed if there are no appropriate hosts. |
v1.3 updates + clarifications | |
Rating - clarified that in day of broadcast, "AVG" is a STRING which should be printed if there is more than one relevant broadcast. - in SOA, viewers changed to viewings to match the results in out.txt. - you can assume that fromDate<=toDate, and fromAge<=toAge. - a lot of students asked me about the difference between Rating and SOA. In Rating, you divide by the number of relevant viewers, which means you look at viewer table and count viewers who meet the gender and age conditions if specified. In SOA, you divide by the number of viewings of relevant viewers in the broadcast day. Similar - by viewers who watch the same genres exactly we mean that the sets of genres of the viewers are equal. |
In Rivals, what is the meaning of two participants participating in a TV Program, do they have to participate in the same broadcast? | |
No, they can participate in different broadcasts of the same TV program, and they will still be considered rivals. |
In Similar, can you explain the second requirement? | |
You need to calculate the number of (common) TV programs that each of the viewers watched most of their broadcasts, and check if this count is bigger than half of the number of TV programs that ID watched most of their broadcasts. |
Should we print ILL_PARAMS to STDOUT or STDERR? | |
STDOUT. |
Is the submission electronic only or we should also print the solution ? | |
Electronic only. |
v1.35 update | |
Rating: - removed last "|" from the title line to match the output file in the test example. |