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 22, 2024 11:17matsuoka-601matsuoka-601Score: 5,504Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:175,45936,404,95816,441,0001,027,0002,289,664
2Jan 22, 2024 11:175,47243,309,39516,480,0001,030,0002,289,664
3Jan 22, 2024 11:175,47736,523,53616,495,0001,030,0002,396,160
4Jan 22, 2024 11:175,48837,746,77916,528,0001,033,0002,289,664
5Jan 22, 2024 11:175,48941,189,06516,531,0001,033,0002,289,664
6Jan 22, 2024 11:175,49943,777,81316,563,0001,035,0002,289,664
7Jan 22, 2024 11:175,50433,525,43516,577,0001,036,0002,289,664
8Jan 22, 2024 11:175,51047,764,74316,594,0001,037,0002,289,664
9Jan 22, 2024 11:175,51147,010,87216,598,0001,037,0002,273,280
10Jan 22, 2024 11:175,62769,878,93418,006,96402,293,760
11Jan 22, 2024 11:175,63085,843,78618,017,15602,301,952
12Jan 22, 2024 11:175,64093,239,93118,048,86602,301,952