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 16:25Joad NacerJoad NacerScore: 5,389Success
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 16:255,35941,180,05515,132,0002,017,0002,289,664
2Apr 17, 2024 16:255,37639,333,32415,180,0002,024,0002,273,280
3Apr 17, 2024 16:255,38235,537,58916,210,0001,013,0002,289,664
4Apr 17, 2024 16:255,38450,189,92716,215,0001,013,0002,269,184
5Apr 17, 2024 16:255,38835,730,73415,215,0002,028,0002,289,664
6Apr 17, 2024 16:255,38939,183,89415,216,0002,028,0002,289,664
7Apr 17, 2024 16:255,38938,982,62115,216,0002,028,0002,289,664
8Apr 17, 2024 16:255,39534,166,70415,232,0002,031,0002,289,664
9Apr 17, 2024 16:255,39938,904,00615,245,0002,032,0002,387,968
10Apr 17, 2024 16:255,66179,922,20118,116,05302,174,976
11Apr 17, 2024 16:255,68482,153,60518,187,94502,306,048
12Apr 17, 2024 16:255,68890,757,88718,200,82102,183,168