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 listJan 19, 2024 18:33AnSaAnSaScore: 5,895Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 18:335,83251,126,80617,626,0001,036,0002,453,504
2Jan 19, 2024 18:335,83742,934,02516,602,0002,075,0002,433,024
3Jan 19, 2024 18:335,84045,803,79718,689,00002,375,680
4Jan 19, 2024 18:335,84248,670,76717,655,0001,038,0002,359,296
5Jan 19, 2024 18:335,84234,549,42017,655,0001,038,0002,306,048
6Jan 19, 2024 18:335,89346,519,35517,865,000992,0002,457,600
7Jan 19, 2024 18:335,89551,070,25016,879,0001,985,0002,375,680
8Jan 19, 2024 18:335,89652,439,31117,875,000993,0002,469,888
9Jan 19, 2024 18:335,91548,782,98416,936,0001,992,0002,375,680
10Jan 19, 2024 18:335,98578,142,75219,152,75502,301,952
11Jan 19, 2024 18:336,05791,775,53119,382,33002,289,664
12Jan 19, 2024 18:336,06184,406,23419,395,11802,297,856