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 09:01Rajarshi BasuRajarshi BasuScore: 4,374Success
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 09:014,34531,242,70611,918,0001,986,0002,404,352
2Jan 6, 2026 09:014,34735,224,03512,917,000993,0002,396,160
3Jan 6, 2026 09:014,35134,930,01712,928,000994,0002,400,256
4Jan 6, 2026 09:014,35831,524,01412,948,000996,0002,387,968
5Jan 6, 2026 09:014,35931,821,16212,954,000996,0002,404,352
6Jan 6, 2026 09:014,36333,625,77712,964,000997,0002,404,352
7Jan 6, 2026 09:014,36834,613,64811,980,0001,996,0002,400,256
8Jan 6, 2026 09:014,37431,860,29512,999,000999,0002,404,352
9Jan 6, 2026 09:014,37830,837,62912,007,0002,001,0002,277,376
10Jan 6, 2026 09:014,38429,183,92312,025,0002,004,0002,408,448
11Jan 6, 2026 09:014,39941,369,29114,078,00002,277,376
12Jan 6, 2026 09:014,40633,314,30512,086,0002,014,0002,277,376
13Jan 6, 2026 09:014,41335,883,55413,115,0001,008,0002,396,160
14Jan 6, 2026 09:014,48634,690,41913,330,0001,025,0002,277,376
15Jan 6, 2026 09:014,52944,824,05613,458,0001,035,0002,400,256