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 10:30LaihoLaihoScore: 10,425Success
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 10:3010,42060,649,44232,334,0001,010,0002,375,680
2Dec 21, 2024 10:3010,42258,481,33132,339,0001,010,0002,375,680
3Dec 21, 2024 10:3010,42459,506,29532,346,0001,010,0002,375,680
4Dec 21, 2024 10:3010,42460,370,82332,347,0001,010,0002,367,488
5Dec 21, 2024 10:3010,42554,574,25032,351,0001,010,0002,375,680
6Dec 21, 2024 10:3010,43058,019,78532,366,0001,011,0002,363,392
7Dec 21, 2024 10:3010,43859,869,94932,389,0001,012,0002,285,568
8Dec 21, 2024 10:3010,45457,190,24533,452,00002,363,392
9Dec 21, 2024 10:3010,45855,858,06633,464,00002,367,488