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 13, 2024 18:50Andrey LikhachevAndrey LikhachevScore: 4,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 18:504,74537,298,17113,160,0002,024,0002,367,488
2Jun 13, 2024 18:504,75438,056,16614,199,0001,014,0002,281,472
3Jun 13, 2024 18:504,75535,551,72613,188,0002,028,0002,367,488
4Jun 13, 2024 18:504,75631,362,58813,189,0002,029,0002,281,472
5Jun 13, 2024 18:504,75736,106,72214,208,0001,014,0002,375,680
6Jun 13, 2024 18:504,76034,947,17014,216,0001,015,0002,355,200
7Jun 13, 2024 18:504,79740,223,12815,350,00002,281,472
8Jun 13, 2024 18:504,79732,513,78514,328,0001,023,0002,371,584
9Jun 13, 2024 18:504,80135,363,40715,363,00002,281,472
10Jun 13, 2024 18:505,04680,040,43616,147,24302,244,608
11Jun 13, 2024 18:505,04987,485,01116,157,24202,244,608
12Jun 13, 2024 18:505,06198,799,39516,194,03102,244,608