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 24, 2021 14:35Dmitry DolgopolovDmitry DolgopolovScore: 5,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 14:355,40438,840,82915,259,0002,034,0002,379,776
2May 24, 2021 14:355,40732,932,93215,267,0002,035,0002,265,088
3May 24, 2021 14:355,40742,446,92416,285,0001,017,0002,392,064
4May 24, 2021 14:355,40849,042,82416,288,0001,018,0002,396,160
5May 24, 2021 14:355,43534,391,17417,392,00002,265,088
6May 24, 2021 14:355,43741,542,54217,399,00002,265,088
7May 24, 2021 14:355,43952,912,32716,381,0001,023,0002,265,088
8May 24, 2021 14:355,44743,391,11116,404,0001,025,0002,265,088
9May 24, 2021 14:355,44737,457,06117,431,00002,387,968
10May 24, 2021 14:355,63391,032,17418,027,16702,273,280
11May 24, 2021 14:355,64379,989,19318,058,55902,273,280
12May 24, 2021 14:355,65388,109,13818,089,68702,285,568