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 listMay 15, 2023 06:23AmirAmirScore: 5,816Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:235,72743,495,29916,289,0002,036,0002,273,280
2May 15, 2023 06:235,76340,611,76717,418,0001,024,0002,269,184
3May 15, 2023 06:235,77340,948,15417,446,0001,026,0002,289,664
4May 15, 2023 06:235,77340,821,57017,447,0001,026,0002,289,664
5May 15, 2023 06:235,78044,447,92818,495,00002,269,184
6May 15, 2023 06:235,80143,528,47317,531,0001,031,0002,289,664
7May 15, 2023 06:235,81636,127,10417,577,0001,033,0002,289,664
8May 15, 2023 06:235,83949,529,73318,686,00002,289,664
9May 15, 2023 06:235,85143,401,82918,722,00002,367,488
10May 15, 2023 06:235,94586,745,31019,023,39302,174,976
11May 15, 2023 06:235,95089,568,30119,041,42102,289,664
12May 15, 2023 06:235,99386,599,91319,178,67602,289,664