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 03:10Yuriy LyfenkoYuriy LyfenkoScore: 4,512Success
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 03:104,470639,539,85513,284,0001,021,0002,527,232
2Jun 12, 2024 03:104,477642,589,41513,302,0001,023,0002,392,064
3Jun 12, 2024 03:104,490636,650,47413,342,0001,026,0002,523,136
4Jun 12, 2024 03:104,491637,117,24414,372,00002,260,992
5Jun 12, 2024 03:104,502641,137,86313,378,0001,029,0002,265,088
6Jun 12, 2024 03:104,503638,807,73314,411,00002,523,136
7Jun 12, 2024 03:104,512642,348,56914,437,00002,260,992
8Jun 12, 2024 03:104,521639,715,62514,466,00002,260,992
9Jun 12, 2024 03:104,529637,849,53113,457,0001,035,0002,523,136
10Jun 12, 2024 03:104,688683,680,19015,002,63602,285,568
11Jun 12, 2024 03:104,698672,269,88815,032,08502,281,472
12Jun 12, 2024 03:104,728688,236,53815,130,42302,285,568