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 listDec 23, 2025 01:47hunaphuhunaphuScore: 4,472Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2025 01:474,43731,696,06113,183,0001,014,0002,273,280
2Dec 23, 2025 01:474,46338,859,09913,260,0001,020,0002,396,160
3Dec 23, 2025 01:474,46434,071,66012,245,0002,040,0002,396,160
4Dec 23, 2025 01:474,46632,280,68413,270,0001,020,0002,404,352
5Dec 23, 2025 01:474,47228,931,31913,289,0001,022,0002,273,280
6Dec 23, 2025 01:474,47331,017,77513,292,0001,022,0002,273,280
7Dec 23, 2025 01:474,48734,299,02313,334,0001,025,0002,273,280
8Dec 23, 2025 01:474,49228,716,67413,349,0001,026,0002,400,256
9Dec 23, 2025 01:474,59729,501,33714,711,00002,510,848