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 14, 2026 06:26Yuriy LyfenkoYuriy LyfenkoScore: 4,174Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2026 06:264,130536,301,91512,200,0001,016,0002,273,280
2Apr 14, 2026 06:264,144534,699,22412,242,0001,020,0002,535,424
3Apr 14, 2026 06:264,145536,118,94512,244,0001,020,0002,273,280
4Apr 14, 2026 06:264,150538,588,06112,260,0001,021,0002,535,424
5Apr 14, 2026 06:264,153534,195,55712,266,0001,022,0002,441,216
6Apr 14, 2026 06:264,161534,261,98712,290,0001,024,0002,535,424
7Apr 14, 2026 06:264,164540,328,49412,301,0001,025,0002,535,424
8Apr 14, 2026 06:264,168537,089,79912,313,0001,026,0002,535,424
9Apr 14, 2026 06:264,171534,197,00912,322,0001,026,0002,535,424
10Apr 14, 2026 06:264,174532,815,90612,329,0001,027,0002,273,280
11Apr 14, 2026 06:264,174538,986,46912,329,0001,027,0002,535,424
12Apr 14, 2026 06:264,178537,862,32312,340,0001,028,0002,531,328
13Apr 14, 2026 06:264,179542,739,97012,344,0001,028,0002,535,424
14Apr 14, 2026 06:264,187539,200,50012,368,0001,030,0002,535,424
15Apr 14, 2026 06:264,189536,532,63612,375,0001,031,0002,273,280
16Apr 14, 2026 06:264,202530,990,59212,411,0001,034,0002,535,424
17Apr 14, 2026 06:264,212539,659,23213,478,00002,535,424
18Apr 14, 2026 06:264,402537,451,79912,075,0002,012,0002,273,280