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 listApr 6, 2026 13:25Uladzislau NestsiarukUladzislau NestsiarukScore: 18,633Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2026 13:2518,48583,953,34235,090,00024,062,0002,342,912
2Apr 6, 2026 13:2518,51684,826,33533,141,00026,111,0002,289,664
3Apr 6, 2026 13:2518,56282,312,52733,222,00026,175,0002,482,176
4Apr 6, 2026 13:2518,61381,909,45831,296,00028,267,0002,289,664
5Apr 6, 2026 13:2518,63385,782,90032,340,00027,287,0002,465,792
6Apr 6, 2026 13:2518,71580,920,85231,941,00027,948,0002,465,792
7Apr 6, 2026 13:2518,73184,034,28432,967,00026,973,0002,473,984
8Apr 6, 2026 13:2518,73584,571,98829,976,00029,976,0002,281,472
9Apr 6, 2026 13:2519,01288,994,26820,944,00039,894,0002,289,664