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 listDec 25, 2021 03:06Alexander KimAlexander KimScore: 5,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 03:065,69342,632,10317,204,0001,012,0002,310,144
2Dec 25, 2021 03:065,69334,914,51814,169,0004,048,0002,306,048
3Dec 25, 2021 03:065,69742,082,06017,219,0001,012,0002,289,664
4Dec 25, 2021 03:065,70039,783,59916,215,0002,026,0002,334,720
5Dec 25, 2021 03:065,71541,270,88416,257,0002,032,0002,334,720
6Dec 25, 2021 03:065,71540,651,98116,257,0002,032,0002,334,720
7Dec 25, 2021 03:065,71839,598,43315,249,0003,049,0002,301,952
8Dec 25, 2021 03:065,71943,134,31417,286,0001,016,0002,334,720
9Dec 25, 2021 03:065,72342,546,16017,296,0001,017,0002,334,720
10Dec 25, 2021 03:065,74673,420,64418,385,66402,273,280
11Dec 25, 2021 03:065,80586,411,01918,575,65402,277,376
12Dec 25, 2021 03:065,82684,280,89218,644,58602,273,280