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 5, 2025 16:59CountHarebourgCountHarebourgScore: 4,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 17:344,65329,999,01012,906,0001,985,0002,289,664
2Apr 5, 2025 17:344,66232,164,17013,923,000994,0002,277,376
3Apr 5, 2025 17:374,66336,568,63012,931,0001,989,0002,277,376
4Apr 5, 2025 17:374,66931,813,92812,948,0001,992,0002,289,664
5Apr 5, 2025 17:344,67333,246,36412,960,0001,993,0002,285,568
6Apr 5, 2025 17:344,67641,714,38712,967,0001,995,0002,269,184
7Apr 5, 2025 17:344,68349,084,05913,986,000999,0002,289,664
8Apr 5, 2025 17:344,68336,538,98112,987,0001,998,0002,277,376
9Apr 5, 2025 17:344,69331,386,29513,015,0002,002,0002,289,664
10Apr 5, 2025 17:344,69934,060,06014,036,0001,002,0002,289,664
11Apr 5, 2025 16:594,70032,519,99414,039,0001,002,0002,289,664
12Apr 5, 2025 16:594,71437,529,27513,073,0002,011,0002,289,664
13Apr 5, 2025 16:594,71534,959,93314,082,0001,005,0002,269,184
14Apr 5, 2025 17:374,72533,709,20613,105,0002,016,0002,273,280
15Apr 5, 2025 17:344,74237,220,32514,162,0001,011,0002,289,664