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 18, 2021 14:12Yuriy LyfenkoYuriy LyfenkoScore: 5,268Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 14:125,240415,781,89113,810,0002,959,0002,519,040
2May 18, 2021 14:125,2432,776,282,66615,791,000986,0002,265,088
3May 18, 2021 14:125,250525,496,13516,799,00002,527,232
4May 18, 2021 14:125,258922,629,21814,957,0001,869,0002,523,136
5May 18, 2021 14:125,2591,751,846,89615,840,000990,0002,519,040
6May 18, 2021 14:125,262957,667,04014,857,0001,980,0002,260,992
7May 18, 2021 14:125,2681,680,497,65515,867,000991,0002,523,136
8May 18, 2021 14:125,280201,279,48715,903,000993,0002,523,136
9May 18, 2021 14:125,28187,271,77316,899,00002,387,968
10May 18, 2021 14:125,4121,435,769,41117,319,20502,285,568
11May 18, 2021 14:125,421923,529,69317,348,57702,277,376
12May 18, 2021 14:125,4502,562,366,77017,439,57702,285,568