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 listApr 17, 2024 15:28Joad NacerJoad NacerScore: 5,307Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 15:285,29237,541,84514,942,0001,992,0002,285,568
2Apr 17, 2024 15:285,29834,652,92415,956,000997,0002,265,088
3Apr 17, 2024 15:285,30145,411,89214,968,0001,995,0002,269,184
4Apr 17, 2024 15:285,30334,208,65514,974,0001,996,0002,289,664
5Apr 17, 2024 15:285,30442,871,72415,974,000998,0002,289,664
6Apr 17, 2024 15:285,30544,997,66214,978,0001,997,0002,289,664
7Apr 17, 2024 15:285,30742,143,39815,984,000999,0002,289,664
8Apr 17, 2024 15:285,30838,416,91714,989,0001,998,0002,289,664
9Apr 17, 2024 15:285,31234,968,09014,999,0001,999,0002,289,664
10Apr 17, 2024 15:285,51881,798,22617,656,07302,179,072
11Apr 17, 2024 15:285,52671,752,69117,683,34202,179,072
12Apr 17, 2024 15:285,55671,118,43217,779,19102,301,952