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 listJul 15, 2024 14:42kytanskytansScore: 4,555Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:414,52443,945,58714,476,00002,277,376
2Jul 15, 2024 14:414,52829,516,85214,488,00002,506,752
3Jul 15, 2024 14:414,53332,192,18014,504,00002,277,376
4Jul 15, 2024 14:414,53340,702,15314,504,00002,277,376
5Jul 15, 2024 14:414,53934,235,74914,525,00002,277,376
6Jul 15, 2024 14:414,54834,762,49714,552,00002,277,376
7Jul 15, 2024 14:414,55336,055,11214,569,00002,277,376
8Jul 15, 2024 14:414,55532,386,47514,575,00002,277,376
9Jul 15, 2024 14:414,56329,482,02714,600,00002,506,752
10Jul 15, 2024 14:414,78779,550,09015,318,01702,248,704
11Jul 15, 2024 14:414,79882,779,34715,354,33902,379,776
12Jul 15, 2024 14:414,82179,456,94315,425,83002,248,704
13Jul 15, 2024 14:4220,037130,004,91664,119,06402,244,608
14Jul 15, 2024 14:4220,089123,130,03264,283,83402,371,584
15Jul 15, 2024 14:4220,164125,164,14564,524,79902,367,488