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 listMar 28, 2026 10:45olliecrowolliecrowScore: 4,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 28, 2026 10:454,33642,178,51512,885,000991,0002,277,376
2Mar 28, 2026 10:454,33937,800,37512,894,000991,0002,277,376
3Mar 28, 2026 10:464,34134,464,75813,891,00002,277,376
4Mar 28, 2026 10:464,34228,689,73613,893,00002,502,656
5Mar 28, 2026 10:454,34328,453,10012,904,000992,0002,494,464
6Mar 28, 2026 10:464,34330,093,66211,911,0001,985,0002,486,272
7Mar 28, 2026 10:464,34834,904,34412,920,000993,0002,277,376
8Mar 28, 2026 10:464,34840,385,31212,919,000993,0002,277,376
9Mar 28, 2026 10:454,35246,546,06412,932,000994,0002,494,464
10Mar 28, 2026 10:464,35330,662,37613,930,00002,498,560
11Mar 28, 2026 10:464,35728,552,49212,947,000995,0002,502,656
12Mar 28, 2026 10:464,36334,036,25412,963,000997,0002,502,656
13Mar 28, 2026 10:464,36631,518,01212,974,000998,0002,277,376
14Mar 28, 2026 10:454,37629,528,37913,003,0001,000,0002,277,376
15Mar 28, 2026 10:454,38131,306,26513,019,0001,001,0002,494,464