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 listJan 21, 2024 16:31matsuoka-601matsuoka-601Score: 4,974Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 16:314,95531,643,29514,865,000991,0002,285,568
2Jan 21, 2024 16:314,95847,686,11114,874,000991,0002,285,568
3Jan 21, 2024 16:314,95937,101,24113,887,0001,983,0002,285,568
4Jan 21, 2024 16:314,96346,756,41313,896,0001,985,0002,527,232
5Jan 21, 2024 16:314,96444,920,63213,900,0001,985,0002,527,232
6Jan 21, 2024 16:314,97232,529,38613,921,0001,988,0002,527,232
7Jan 21, 2024 16:314,97440,107,82513,928,0001,989,0002,285,568
8Jan 21, 2024 16:314,98533,260,49313,958,0001,994,0002,285,568
9Jan 21, 2024 16:315,01033,911,86014,029,0002,004,0002,277,376
10Jan 21, 2024 16:315,13289,153,07316,421,45302,301,952
11Jan 21, 2024 16:315,14276,316,72316,455,68202,297,856
12Jan 21, 2024 16:315,16583,677,94116,527,45402,285,568