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 27, 2021 16:23Yurkov AlekseyYurkov AlekseyScore: 5,939Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 16:235,90138,793,92616,896,0001,987,0002,289,664
2May 27, 2021 16:235,90945,283,09717,859,0001,050,0002,289,664
3May 27, 2021 16:235,92041,832,00916,949,0001,994,0002,269,184
4May 27, 2021 16:235,92341,345,20016,958,0001,995,0002,289,664
5May 27, 2021 16:235,93336,111,20016,987,0001,998,0002,265,088
6May 27, 2021 16:235,93840,782,14918,002,0001,000,0002,387,968
7May 27, 2021 16:235,93943,562,93317,005,0002,000,0002,289,664
8May 27, 2021 16:235,95941,580,45517,061,0002,007,0002,289,664
9May 27, 2021 16:235,96436,229,36117,076,0002,009,0002,289,664
10May 27, 2021 16:236,10892,396,59519,546,52802,293,760
11May 27, 2021 16:236,13973,449,20219,646,23302,297,856
12May 27, 2021 16:236,15953,958,51319,709,09702,170,880