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 06:00Rajarshi BasuRajarshi BasuScore: 4,470Success
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 06:004,44738,277,00413,213,0001,016,0002,408,448
2Jan 6, 2026 06:004,44730,354,72013,213,0001,016,0002,400,256
3Jan 6, 2026 05:554,44934,759,92512,203,0002,033,0002,277,376
4Jan 6, 2026 05:554,45834,113,18713,247,0001,019,0002,277,376
5Jan 6, 2026 06:004,46029,223,83713,253,0001,019,0002,277,376
6Jan 6, 2026 05:554,46330,964,35813,261,0001,020,0002,396,160
7Jan 6, 2026 05:554,46333,356,18213,261,0001,020,0002,277,376
8Jan 6, 2026 06:004,47038,346,28713,282,0001,021,0002,277,376
9Jan 6, 2026 06:004,47432,354,16114,318,00002,510,848
10Jan 6, 2026 06:004,47734,892,59513,303,0001,023,0002,396,160
11Jan 6, 2026 05:554,48131,802,26113,316,0001,024,0002,277,376
12Jan 6, 2026 06:004,48138,980,40513,316,0001,024,0002,396,160
13Jan 6, 2026 06:004,48329,885,74212,297,0002,049,0002,400,256
14Jan 6, 2026 05:554,48631,427,58013,331,0001,025,0002,277,376
15Jan 6, 2026 06:004,48834,724,22414,361,00002,412,544