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 listJan 6, 2026 10:11Rajarshi BasuRajarshi BasuScore: 4,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2026 10:114,33532,127,11013,873,00002,277,376
2Jan 6, 2026 10:114,33731,406,48512,888,000991,0002,277,376
3Jan 6, 2026 10:114,33836,470,69112,892,000991,0002,277,376
4Jan 6, 2026 10:114,34035,375,42513,887,00002,277,376
5Jan 6, 2026 10:114,34230,536,15613,894,00002,392,064
6Jan 6, 2026 10:114,34234,294,93812,901,000992,0002,277,376
7Jan 6, 2026 10:114,34335,624,65812,904,000992,0002,277,376
8Jan 6, 2026 10:114,34429,758,64311,915,0001,985,0002,400,256
9Jan 6, 2026 10:114,34634,572,05312,915,000993,0002,392,064
10Jan 6, 2026 10:114,34736,122,96112,918,000993,0002,396,160
11Jan 6, 2026 10:114,35231,500,36211,936,0001,989,0002,392,064
12Jan 6, 2026 10:114,35631,308,50611,947,0001,991,0002,396,160
13Jan 6, 2026 10:114,35830,163,02111,952,0001,992,0002,277,376
14Jan 6, 2026 10:114,36031,609,87911,959,0001,993,0002,400,256
15Jan 6, 2026 10:114,36429,903,91512,969,000997,0002,510,848