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 9, 2024 19:47джулисджулисScore: 5,896Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:475,77241,007,89717,444,0001,026,0002,371,584
2Jun 9, 2024 19:475,78840,095,70617,493,0001,029,0002,482,176
3Jun 9, 2024 19:475,80052,359,64018,561,00002,293,760
4Jun 9, 2024 19:475,81746,017,09117,580,0001,034,0002,375,680
5Jun 9, 2024 19:475,81736,628,75917,581,0001,034,0002,293,760
6Jun 9, 2024 19:475,83738,192,99918,679,00002,293,760
7Jun 9, 2024 19:475,89634,883,29117,875,000993,0002,293,760
8Jun 9, 2024 19:475,89846,209,45717,880,000993,0002,293,760
9Jun 9, 2024 19:475,90035,116,96317,886,000993,0002,490,368
10Jun 9, 2024 19:476,09989,651,04719,516,53702,244,608
11Jun 9, 2024 19:476,12185,077,46719,586,66802,252,800
12Jun 9, 2024 19:476,179114,812,65319,772,49402,240,512