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:06Joad NacerJoad NacerScore: 5,592Success
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:065,53237,335,56616,662,0001,041,0002,289,664
2Apr 17, 2024 03:065,54145,198,40916,688,0001,043,0002,269,184
3Apr 17, 2024 03:065,58248,078,74417,863,00002,289,664
4Apr 17, 2024 03:065,58842,261,19515,895,0001,986,0002,277,376
5Apr 17, 2024 03:065,58842,589,45115,896,0001,987,0002,375,680
6Apr 17, 2024 03:065,59133,860,64617,892,00002,289,664
7Apr 17, 2024 03:065,59244,198,34915,907,0001,988,0002,289,664
8Apr 17, 2024 03:065,59635,364,35315,917,0001,989,0002,269,184
9Apr 17, 2024 03:065,61247,245,46315,962,0001,995,0002,289,664
10Apr 17, 2024 03:065,74794,313,21618,389,71702,301,952
11Apr 17, 2024 03:065,78693,604,83418,515,72402,297,856
12Apr 17, 2024 03:065,78890,248,81818,520,32702,179,072