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 13, 2026 14:16Oleg SkinderevOleg SkinderevScore: 5,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 14:135,30447,742,55814,976,0001,996,0002,277,376
2Apr 13, 2026 14:155,32842,164,77614,042,0003,009,0002,277,376
3Apr 13, 2026 14:135,33043,551,10715,049,0002,006,0002,277,376
4Apr 13, 2026 14:155,33135,013,71815,053,0002,007,0002,277,376
5Apr 13, 2026 14:155,33332,608,70615,059,0002,007,0002,277,376
6Apr 13, 2026 14:155,33442,292,68215,060,0002,008,0002,273,280
7Apr 13, 2026 14:165,33743,010,05515,069,0002,009,0002,277,376
8Apr 13, 2026 14:155,33734,506,13315,068,0002,009,0002,277,376
9Apr 13, 2026 14:135,34134,650,60215,082,0002,010,0002,277,376
10Apr 13, 2026 14:135,34646,147,74815,096,0002,012,0002,277,376
11Apr 13, 2026 14:135,34843,196,14115,100,0002,013,0002,269,184
12Apr 13, 2026 14:155,35148,979,14316,117,0001,007,0002,277,376
13Apr 13, 2026 14:135,35233,949,19814,104,0003,022,0002,277,376
14Apr 13, 2026 14:135,35641,989,76916,130,0001,008,0002,277,376
15Apr 13, 2026 14:155,36238,342,77213,121,0004,037,0002,277,376
16Apr 13, 2026 14:165,36447,895,34714,137,0003,029,0002,277,376
17Apr 13, 2026 14:135,37350,290,10914,159,0003,034,0002,277,376
18Apr 13, 2026 14:155,37344,119,56514,160,0003,034,0002,277,376
19Apr 13, 2026 14:165,37344,609,43514,159,0003,034,0002,277,376
20Apr 13, 2026 14:155,39547,262,52014,218,0003,046,0002,519,040
21Apr 13, 2026 14:135,42633,984,78014,300,0003,064,0002,277,376