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 listJun 30, 2024 11:43AnSaAnSaScore: 4,888Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 11:434,85333,059,37015,530,00002,531,328
2Jun 30, 2024 11:434,85532,960,46514,502,0001,035,0002,531,328
3Jun 30, 2024 11:434,86737,050,12914,537,0001,038,0002,502,656
4Jun 30, 2024 11:434,86839,600,26914,541,0001,038,0002,506,752
5Jun 30, 2024 11:434,87334,032,01215,593,00002,506,752
6Jun 30, 2024 11:434,87634,013,72614,564,0001,040,0002,269,184
7Jun 30, 2024 11:434,88831,027,09115,640,00002,269,184
8Jun 30, 2024 11:434,89929,167,29213,586,0002,090,0002,269,184
9Jun 30, 2024 11:434,95632,626,89014,867,000991,0002,502,656
10Jun 30, 2024 11:435,18259,583,55216,583,18602,256,896
11Jun 30, 2024 11:435,21974,946,10816,700,38202,244,608
12Jun 30, 2024 11:435,24976,843,27416,797,47302,244,608