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 22:50Alexander KimAlexander KimScore: 5,694Success
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 22:505,64842,880,60817,071,0001,004,0002,535,424
2Jan 2, 2023 22:505,67447,284,63416,140,0002,017,0002,535,424
3Jan 2, 2023 22:505,67949,643,39016,154,0002,019,0002,334,720
4Jan 2, 2023 22:505,68241,150,44316,162,0002,020,0002,334,720
5Jan 2, 2023 22:505,68738,426,16517,188,0001,011,0002,281,472
6Jan 2, 2023 22:505,69343,381,70717,205,0001,012,0002,334,720
7Jan 2, 2023 22:505,69440,822,03016,196,0002,024,0002,535,424
8Jan 2, 2023 22:505,69739,631,86616,204,0002,025,0002,281,472
9Jan 2, 2023 22:505,73435,841,69916,311,0002,038,0002,334,720
10Jan 2, 2023 22:505,75468,524,50718,412,40802,260,992
11Jan 2, 2023 22:505,75884,210,14118,426,36102,244,608
12Jan 2, 2023 22:505,81777,005,71418,612,82902,240,512