соревнование
Hello world with an empty main function
Faced with the following task at the interview:
Write a program that prints the phrase Hello world {[4 in the console]}
... he phrase continues:
Provided that the function main() of this program looks like this:
int main()
{
return 0;
}
PHP, or JavaScript, or C++, Java, Python?
At the expert forum of programmers, hashCode is asked and answered by developers in PHP, JavaScript, C++, Java, Python and ot ... ding punctuation marks. You need to write code in any suitable programming language that defines the author's specialization.
Translate the program from Pascal to [any-language]
The contest is over, see the results at the end of the question.
I think many of you have seen questions consisting of a re ... <th>Подготовка</th>
<th>Изменено</th>
<th></th>
</tr>
</table>
Frequency of words in the text
The following Python script calculates the frequency of words in the text (continuous sequences of letters with the exception ... es.get(trimmed, 0) + 1
keys = sorted(frequencies.keys())
for word in keys:
print "%-32s %d" % (word, frequencies[word])
Traversing a two-dimensional array with a clockwise spiral
Competition task:
There is a two-dimensional array N x N. You need to write a function that will traverse a two-dimensional ... pt in 81 bytes
Thank you all very much for your participation, all comments will be taken into account for future contests.
The problem of covering a set of points with segments (or the knapsack problem)
Recently, the Yandex.Blitz competition for frontend developers ended, and I would like to analyze one problem. (Once again, t ... did not pass in time. Please help me, create a more optimal algorithm. It is important that the solution is single-threaded.