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 listApr 18, 2024 17:33Robert BurkeRobert BurkeScore: 4,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 17:334,48031,208,25014,336,00002,281,472
2Apr 18, 2024 17:334,48529,453,71413,327,0001,025,0002,437,120
3Apr 18, 2024 17:334,49339,823,02714,378,00002,281,472
4Apr 18, 2024 17:334,49528,460,06514,383,00002,433,024
5Apr 18, 2024 17:334,49842,637,69914,394,00002,433,024
6Apr 18, 2024 17:334,49934,755,18414,396,00002,281,472
7Apr 18, 2024 17:334,50232,876,25714,406,00002,281,472
8Apr 18, 2024 17:334,50329,654,66713,382,0001,029,0002,441,216
9Apr 18, 2024 17:334,51930,725,64013,429,0001,033,0002,523,136
10Apr 18, 2024 17:334,74075,459,40215,168,09402,187,264
11Apr 18, 2024 17:334,75178,887,92215,203,31202,191,360
12Apr 18, 2024 17:334,75981,226,69215,228,40402,191,360