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 12, 2024 23:07джулисджулисScore: 5,967Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:075,93249,882,86117,982,000999,0002,375,680
2Jun 12, 2024 23:075,94638,674,79717,024,0002,002,0002,293,760
3Jun 12, 2024 23:075,94850,109,57018,034,0001,001,0002,293,760
4Jun 12, 2024 23:075,95249,569,93318,043,0001,002,0002,478,080
5Jun 12, 2024 23:075,95843,242,10617,058,0002,006,0002,375,680
6Jun 12, 2024 23:075,95943,186,35817,061,0002,007,0002,375,680
7Jun 12, 2024 23:075,96742,176,86618,090,0001,005,0002,293,760
8Jun 12, 2024 23:075,96943,107,03418,097,0001,005,0002,293,760
9Jun 12, 2024 23:076,02141,670,43818,254,0001,014,0002,379,776
10Jun 12, 2024 23:076,16395,010,70819,722,37502,248,704
11Jun 12, 2024 23:076,197100,035,28619,829,45602,248,704
12Jun 12, 2024 23:076,21494,731,94619,883,66602,252,800