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 4, 2024 21:42zielajzielajScore: 4,739Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 21:424,70234,281,39313,041,0002,006,0002,281,472
2Aug 4, 2024 21:424,71735,081,97413,082,0002,012,0002,273,280
3Aug 4, 2024 21:424,71943,677,82813,088,0002,013,0002,289,664
4Aug 4, 2024 21:424,72031,043,53113,090,0002,013,0002,277,376
5Aug 4, 2024 21:424,72232,742,73313,096,0002,014,0002,289,664
6Aug 4, 2024 21:424,72338,842,67213,100,0002,015,0002,289,664
7Aug 4, 2024 21:424,73939,966,29713,144,0002,022,0002,269,184
8Aug 4, 2024 21:424,74033,959,99413,147,0002,022,0002,269,184
9Aug 4, 2024 21:424,76341,968,31513,210,0002,032,0002,289,664
10Aug 4, 2024 21:424,96874,259,76915,896,89702,179,072
11Aug 4, 2024 21:424,98678,529,40515,954,32802,183,168
12Aug 4, 2024 21:424,99088,549,10215,968,28302,306,048