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 5, 2024 23:33CountHarebourgCountHarebourgScore: 47,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 23:3347,359176,118,790127,463,00024,087,0002,273,280
2Nov 5, 2024 23:3347,452180,153,926124,873,00026,972,0002,281,472
3Nov 5, 2024 23:3347,459179,082,919124,714,00027,155,0002,392,064
4Nov 5, 2024 23:3347,532175,086,332122,082,00030,020,0002,273,280
5Nov 5, 2024 23:3347,533177,561,995122,084,00030,020,0002,289,664
6Nov 5, 2024 23:3347,538178,399,583123,098,00029,023,0002,289,664
7Nov 5, 2024 23:3347,592174,369,722123,239,00029,056,0002,396,160
8Nov 5, 2024 23:3347,762179,274,495122,870,00029,968,0002,285,568
9Nov 5, 2024 23:3347,770182,739,386125,712,00027,153,0002,289,664