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 3, 2024 05:09jeffplaisancejeffplaisanceScore: 4,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:094,46330,880,54812,242,0002,040,0002,400,256
2Aug 3, 2024 05:094,46834,184,77614,299,00002,404,352
3Aug 3, 2024 05:094,47132,813,13114,308,00002,408,448
4Aug 3, 2024 05:094,47529,938,24113,297,0001,022,0002,400,256
5Aug 3, 2024 05:094,47830,934,21113,308,0001,023,0002,281,472
6Aug 3, 2024 05:094,48331,561,79813,321,0001,024,0002,281,472
7Aug 3, 2024 05:094,48332,068,79413,323,0001,024,0002,404,352
8Aug 3, 2024 05:094,48632,648,48114,355,00002,277,376
9Aug 3, 2024 05:094,49328,859,64714,379,00002,281,472
10Aug 3, 2024 05:094,72179,906,84915,106,99102,297,856
11Aug 3, 2024 05:094,73296,284,87515,142,57002,293,760
12Aug 3, 2024 05:094,74172,208,56315,172,50602,289,664