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 2, 2023 18:20Hal FHal FScore: 4,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 18:204,76130,562,71513,205,0002,031,0002,527,232
2Jan 2, 2023 18:204,76830,726,06413,223,0002,034,0002,289,664
3Jan 2, 2023 18:204,78737,976,98613,276,0002,042,0002,289,664
4Jan 2, 2023 18:204,79443,209,58513,297,0002,045,0002,289,664
5Jan 2, 2023 18:204,79831,949,47313,306,0002,047,0002,277,376
6Jan 2, 2023 18:204,80039,749,47513,312,0002,048,0002,289,664
7Jan 2, 2023 18:204,80934,480,41813,338,0002,052,0002,273,280
8Jan 2, 2023 18:204,81236,364,94914,371,0001,026,0002,289,664
9Jan 2, 2023 18:204,81834,501,98614,391,0001,027,0002,277,376
10Jan 2, 2023 18:205,02777,856,77416,085,48602,301,952
11Jan 2, 2023 18:205,03564,687,73516,113,38002,301,952
12Jan 2, 2023 18:205,04888,990,85816,153,95502,179,072