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 21, 2024 11:56LaihoLaihoScore: 5,371Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 11:565,34047,352,08715,077,0002,010,0002,363,392
2Dec 21, 2024 11:565,34645,524,96115,095,0002,012,0002,285,568
3Dec 21, 2024 11:565,35344,307,54915,116,0002,015,0002,285,568
4Dec 21, 2024 11:565,35844,866,51916,137,0001,008,0002,359,296
5Dec 21, 2024 11:565,37138,469,94415,166,0002,022,0002,285,568
6Dec 21, 2024 11:565,37741,777,32715,182,0002,024,0002,359,296
7Dec 21, 2024 11:565,40644,882,03515,265,0002,035,0002,367,488
8Dec 21, 2024 11:565,41347,706,35415,284,0002,037,0002,359,296
9Dec 21, 2024 11:565,42640,178,46317,364,00002,371,584