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 13, 2024 00:34vahookvahookScore: 4,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 00:344,45130,462,43312,208,0002,034,0002,400,256
2Aug 13, 2024 00:344,46638,317,75713,272,0001,020,0002,281,472
3Aug 13, 2024 00:344,47337,060,15214,313,00002,281,472
4Aug 13, 2024 00:344,47734,919,22914,326,00002,396,160
5Aug 13, 2024 00:344,47841,678,28814,331,00002,281,472
6Aug 13, 2024 00:344,48728,888,92114,359,00002,400,256
7Aug 13, 2024 00:344,49434,211,74413,354,0001,027,0002,404,352
8Aug 13, 2024 00:344,49639,185,89413,360,0001,027,0002,281,472
9Aug 13, 2024 00:344,51835,768,34113,427,0001,032,0002,404,352
10Aug 13, 2024 00:344,71989,356,47915,101,21202,174,976
11Aug 13, 2024 00:344,72883,447,16315,129,91702,252,800
12Aug 13, 2024 00:344,75873,186,33315,225,37102,297,856