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 03:08Joad NacerJoad NacerScore: 5,733Success
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 03:085,69246,405,79316,190,0002,023,0002,289,664
2Apr 17, 2024 03:085,69336,507,26316,194,0002,024,0002,289,664
3Apr 17, 2024 03:085,69937,457,50516,210,0002,026,0002,269,184
4Apr 17, 2024 03:085,71842,571,32216,264,0002,033,0002,531,328
5Apr 17, 2024 03:085,72540,349,69418,319,00002,289,664
6Apr 17, 2024 03:085,72638,646,42016,287,0002,035,0002,523,136
7Apr 17, 2024 03:085,73336,781,33716,309,0002,038,0002,273,280
8Apr 17, 2024 03:085,74240,576,43817,354,0001,020,0002,289,664
9Apr 17, 2024 03:085,74640,023,71316,345,0002,043,0002,269,184
10Apr 17, 2024 03:085,93477,523,94218,988,28402,297,856
11Apr 17, 2024 03:085,95776,591,87119,062,51502,293,760
12Apr 17, 2024 03:085,95889,485,50319,066,97902,179,072