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 29, 2025 01:05HattonuriHattonuriScore: 4,746Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 00:144,70629,664,71813,052,0002,008,0002,449,408
2Dec 29, 2025 01:074,70834,646,94513,058,0002,008,0002,531,328
3Dec 29, 2025 01:054,71137,329,66913,065,0002,010,0002,445,312
4Dec 29, 2025 01:064,72830,639,51413,113,0002,017,0002,437,120
5Dec 29, 2025 01:074,73832,619,43413,139,0002,021,0002,535,424
6Dec 29, 2025 00:144,74036,481,45513,147,0002,022,0002,449,408
7Dec 29, 2025 01:064,74135,211,52813,148,0002,022,0002,535,424
8Dec 29, 2025 00:134,74631,080,21513,162,0002,024,0002,535,424
9Dec 29, 2025 00:134,74634,119,36913,162,0002,025,0002,273,280
10Dec 29, 2025 01:054,74833,794,92113,168,0002,025,0002,535,424
11Dec 29, 2025 00:144,75127,578,77413,175,0002,027,0002,531,328
12Dec 29, 2025 01:074,76331,327,44313,211,0002,032,0002,535,424
13Dec 29, 2025 01:064,76631,127,04713,219,0002,033,0002,535,424
14Dec 29, 2025 01:054,76836,176,14214,239,0001,017,0002,441,216
15Dec 29, 2025 00:134,77829,916,56513,250,0002,038,0002,535,424