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 20, 2024 11:06Matt StuchlikMatt StuchlikScore: 5,094Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 11:065,05132,978,27814,142,0002,020,0002,289,664
2Jul 20, 2024 11:065,05443,532,87714,151,0002,021,0002,269,184
3Jul 20, 2024 11:065,06037,896,61214,168,0002,024,0002,265,088
4Jul 20, 2024 11:065,06139,051,97015,182,0001,012,0002,273,280
5Jul 20, 2024 11:065,06244,045,34916,198,00002,383,872
6Jul 20, 2024 11:065,06838,156,81114,192,0002,027,0002,265,088
7Jul 20, 2024 11:065,09436,607,11914,265,0002,037,0002,269,184
8Jul 20, 2024 11:065,09443,002,88314,265,0002,037,0002,289,664
9Jul 20, 2024 11:065,10638,186,44215,319,0001,021,0002,289,664
10Jul 20, 2024 11:065,30379,505,84516,968,01202,252,800
11Jul 20, 2024 11:065,34388,366,10817,098,54302,289,664
12Jul 20, 2024 11:065,36669,591,01617,172,50002,281,472