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 27, 2024 22:36HuynhHuynhScore: 5,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 22:365,33336,315,25916,061,0001,003,0002,449,408
2Jul 27, 2024 22:365,33548,705,11716,068,0001,004,0002,269,184
3Jul 27, 2024 22:365,33832,807,21416,077,0001,004,0002,269,184
4Jul 27, 2024 22:365,34333,574,50615,087,0002,011,0002,453,504
5Jul 27, 2024 22:365,35438,370,51716,125,0001,007,0002,441,216
6Jul 27, 2024 22:365,35537,530,34815,120,0002,016,0002,449,408
7Jul 27, 2024 22:365,36340,187,09116,151,0001,009,0002,527,232
8Jul 27, 2024 22:365,36840,431,71416,169,0001,010,0002,269,184
9Jul 27, 2024 22:365,38834,043,17116,228,0001,014,0002,269,184
10Jul 27, 2024 22:365,63576,189,63518,031,68202,199,552
11Jul 27, 2024 22:365,64890,406,15118,072,98002,207,744
12Jul 27, 2024 22:365,65684,460,53018,100,58702,199,552