Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 22, 2021 08:23Dmitry DolgopolovDmitry DolgopolovScore: 5,326Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 08:235,28942,695,19615,930,000995,0002,396,160
2May 22, 2021 08:235,29648,492,28214,954,0001,993,0002,519,040
3May 22, 2021 08:235,30030,564,09913,967,0002,992,0002,519,040
4May 22, 2021 08:235,30841,846,94315,987,000999,0002,387,968
5May 22, 2021 08:235,31040,320,97315,993,000999,0002,506,752
6May 22, 2021 08:235,31833,951,00114,016,0003,003,0002,383,872
7May 22, 2021 08:235,31843,700,00315,017,0002,002,0002,392,064
8May 22, 2021 08:235,32645,932,76116,042,0001,002,0002,519,040
9May 22, 2021 08:235,34143,470,31816,085,0001,005,0002,260,992
10May 22, 2021 08:235,51374,790,73017,641,21902,281,472
11May 22, 2021 08:235,53677,498,56717,715,33702,273,280
12May 22, 2021 08:235,55498,503,53117,773,41502,277,376
13May 22, 2021 08:235,57476,156,78117,837,92502,285,568
14May 22, 2021 08:235,57972,463,05817,851,25302,273,280
15May 22, 2021 08:235,62380,412,70817,992,49802,285,568