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 14, 2026 10:20Sanchit GuptaSanchit GuptaScore: 17,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 14, 2026 10:2017,45781,930,24153,866,0001,995,0002,269,184
2Jan 14, 2026 10:2017,47778,271,85953,929,0001,997,0002,289,664
3Jan 14, 2026 10:2017,47880,868,08153,934,0001,997,0002,289,664
4Jan 14, 2026 10:2017,49681,346,10853,987,0001,999,0002,289,664
5Jan 14, 2026 10:2017,49779,745,96853,990,0001,999,0002,289,664
6Jan 14, 2026 10:2017,49779,142,25654,990,000999,0002,289,664
7Jan 14, 2026 10:2017,49882,759,28853,994,0001,999,0002,289,664
8Jan 14, 2026 10:2017,51879,075,38954,057,0002,002,0002,289,664
9Jan 14, 2026 10:2017,52374,226,96754,072,0002,002,0002,351,104