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 listAug 7, 2024 01:17zielajzielajScore: 4,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:174,70231,750,08613,041,0002,006,0002,277,376
2Aug 7, 2024 01:174,70330,717,67714,045,0001,003,0002,281,472
3Aug 7, 2024 01:174,71036,297,63813,062,0002,009,0002,289,664
4Aug 7, 2024 01:174,71729,006,42814,087,0001,006,0002,379,776
5Aug 7, 2024 01:174,72331,341,17513,098,0002,015,0002,289,664
6Aug 7, 2024 01:174,73043,455,82813,117,0002,018,0002,289,664
7Aug 7, 2024 01:174,73733,292,12913,138,0002,021,0002,269,184
8Aug 7, 2024 01:174,73830,798,67714,151,0001,010,0002,273,280
9Aug 7, 2024 01:174,76233,762,45613,207,0002,031,0002,289,664
10Aug 7, 2024 01:174,96291,959,65615,878,46702,297,856
11Aug 7, 2024 01:174,98984,322,46415,965,83402,318,336
12Aug 7, 2024 01:174,99082,371,84515,966,80302,174,976