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 listAug 7, 2024 01:11zielajzielajScore: 4,670Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:114,64832,029,12313,884,000991,0002,269,184
2Aug 7, 2024 01:114,65631,678,86813,905,000993,0002,277,376
3Aug 7, 2024 01:114,65635,491,13312,912,0001,986,0002,289,664
4Aug 7, 2024 01:114,66135,671,50212,927,0001,988,0002,289,664
5Aug 7, 2024 01:114,66231,012,57712,929,0001,989,0002,531,328
6Aug 7, 2024 01:114,66235,104,85313,924,000994,0002,269,184
7Aug 7, 2024 01:114,67037,559,55212,951,0001,992,0002,269,184
8Aug 7, 2024 01:114,67330,066,41012,961,0001,994,0002,531,328
9Aug 7, 2024 01:114,68830,570,25114,001,0001,000,0002,289,664
10Aug 7, 2024 01:114,88086,782,30915,614,76602,306,048
11Aug 7, 2024 01:114,88278,681,76915,623,33002,183,168
12Aug 7, 2024 01:114,90474,862,23215,691,96202,179,072