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 21, 2021 17:09Dmitry DolgopolovDmitry DolgopolovScore: 5,313Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 17:095,29545,261,08214,950,0001,993,0002,265,088
2May 21, 2021 17:095,29744,092,08915,954,000997,0002,265,088
3May 21, 2021 17:095,29840,540,51815,958,000997,0002,269,184
4May 21, 2021 17:095,30045,070,63015,962,000997,0002,383,872
5May 21, 2021 17:095,30343,834,32714,972,0001,996,0002,265,088
6May 21, 2021 17:095,30442,821,59314,976,0001,996,0002,387,968
7May 21, 2021 17:095,31146,531,32914,995,0001,999,0002,396,160
8May 21, 2021 17:095,31341,468,07315,001,0002,000,0002,392,064
9May 21, 2021 17:095,32646,430,59916,041,0001,002,0002,392,064
10May 21, 2021 17:095,49984,764,14417,598,28602,273,280
11May 21, 2021 17:095,50193,381,62517,601,94002,277,376
12May 21, 2021 17:095,54860,045,37817,752,67702,281,472
13May 21, 2021 17:095,54882,515,64217,755,00402,273,280
14May 21, 2021 17:095,55778,872,32117,781,37202,277,376
15May 21, 2021 17:095,56790,072,33617,814,11302,289,664