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 listNov 1, 2021 14:37Ilya AniskovetsIlya AniskovetsScore: 5,390Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:375,34744,280,82815,097,0002,012,0002,265,088
2Nov 1, 2021 14:375,34844,763,21615,102,0002,013,0002,396,160
3Nov 1, 2021 14:375,35543,668,78416,128,0001,008,0002,383,872
4Nov 1, 2021 14:375,36343,694,89316,151,0001,009,0002,383,872
5Nov 1, 2021 14:375,36842,604,65515,158,0002,021,0002,379,776
6Nov 1, 2021 14:375,37847,764,07015,184,0002,024,0002,265,088
7Nov 1, 2021 14:375,39041,296,45316,235,0001,014,0002,265,088
8Nov 1, 2021 14:375,39245,025,20215,224,0002,029,0002,392,064
9Nov 1, 2021 14:375,41442,959,43315,286,0002,038,0002,265,088
10Nov 1, 2021 14:375,52485,215,74517,677,05202,281,472
11Nov 1, 2021 14:375,53282,457,52017,702,62402,240,512
12Nov 1, 2021 14:375,55988,430,37017,789,86302,277,376