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 listDec 16, 2024 20:06RichardRichardScore: 15,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2024 20:0615,43872,988,55522,180,00027,222,0002,285,568
2Dec 16, 2024 20:0615,51676,092,98329,385,00020,266,0002,285,568
3Dec 16, 2024 20:0615,58073,729,59320,349,00029,506,0002,396,160
4Dec 16, 2024 20:0615,58277,929,14225,929,00023,934,0002,277,376
5Dec 16, 2024 20:0615,58978,907,97424,942,00024,942,0002,277,376
6Dec 16, 2024 20:0615,59174,957,99421,952,00027,940,0002,277,376
7Dec 16, 2024 20:0615,64275,162,81622,023,00028,030,0002,277,376
8Dec 16, 2024 20:0615,64573,000,16624,031,00026,034,0002,285,568
9Dec 16, 2024 20:0615,66873,191,83423,064,00027,075,0002,285,568