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 listMay 23, 2021 10:39Andrey TsvetkovAndrey TsvetkovScore: 5,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 10:395,68540,632,99216,170,0002,021,0002,531,328
2May 23, 2021 10:395,69050,089,93816,186,0002,023,0002,531,328
3May 23, 2021 10:395,69140,973,80016,188,0002,023,0002,334,720
4May 23, 2021 10:395,69544,813,30316,200,0002,025,0002,531,328
5May 23, 2021 10:395,69937,091,25916,210,0002,026,0002,334,720
6May 23, 2021 10:395,71455,414,25318,286,12602,240,512
7May 23, 2021 10:395,71949,986,32816,269,0002,033,0002,334,720
8May 23, 2021 10:395,72444,297,44416,283,0002,035,0002,334,720
9May 23, 2021 10:395,72743,841,55216,289,0002,036,0002,531,328
10May 23, 2021 10:395,74144,053,01115,309,0003,061,0002,535,424
11May 23, 2021 10:395,76181,004,71818,434,59402,244,608
12May 23, 2021 10:395,78782,534,05818,517,18202,232,320
13May 23, 2021 10:395,79294,759,43518,535,35802,236,416
14May 23, 2021 10:395,80352,967,58418,570,05302,236,416
15May 23, 2021 10:395,96286,816,39819,077,81602,248,704