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 00:47Joad NacerJoad NacerScore: 5,497Success
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 00:475,44335,791,53916,395,0001,024,0002,277,376
2Apr 17, 2024 00:475,44736,286,89717,430,00002,289,664
3Apr 17, 2024 00:475,45037,466,59216,414,0001,025,0002,289,664
4Apr 17, 2024 00:475,45438,626,38016,428,0001,026,0002,289,664
5Apr 17, 2024 00:475,46643,786,47616,463,0001,028,0002,289,664
6Apr 17, 2024 00:475,49036,626,37017,569,00002,289,664
7Apr 17, 2024 00:475,49741,811,95516,555,0001,034,0002,289,664
8Apr 17, 2024 00:475,50251,815,59216,572,0001,035,0002,351,104
9Apr 17, 2024 00:475,50639,897,24317,619,00002,269,184
10Apr 17, 2024 00:475,66293,056,89218,117,83902,301,952
11Apr 17, 2024 00:475,67173,542,87618,147,90002,183,168
12Apr 17, 2024 00:475,71178,576,69418,273,99502,297,856