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 26, 2021 20:25Alexander KimAlexander KimScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2021 20:255,68243,719,86817,171,0001,010,0002,334,720
2Dec 26, 2021 20:255,68641,900,17416,173,0002,021,0002,334,720
3Dec 26, 2021 20:255,69546,782,72017,213,0001,012,0002,334,720
4Dec 26, 2021 20:255,69842,818,13115,194,0003,038,0002,334,720
5Dec 26, 2021 20:255,70141,063,75316,216,0002,027,0002,334,720
6Dec 26, 2021 20:255,70643,975,30517,245,0001,014,0002,334,720
7Dec 26, 2021 20:255,70837,774,50916,236,0002,029,0002,334,720
8Dec 26, 2021 20:255,71146,981,02818,275,00002,306,048
9Dec 26, 2021 20:255,72778,731,20118,327,40002,273,280
10Dec 26, 2021 20:255,73472,332,35218,350,02902,289,664
11Dec 26, 2021 20:255,74868,767,93718,394,41302,281,472
12Dec 26, 2021 20:255,75251,293,56917,383,0001,022,0002,306,048