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 04:46MylesMylesScore: 4,470Success
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 04:464,44632,786,20512,194,0002,032,0002,281,472
2Aug 3, 2024 04:464,45431,522,80012,216,0002,036,0002,281,472
3Aug 3, 2024 04:464,45930,451,57314,268,00002,281,472
4Aug 3, 2024 04:464,46427,688,33713,265,0001,020,0002,281,472
5Aug 3, 2024 04:464,46727,277,78113,273,0001,021,0002,449,408
6Aug 3, 2024 04:464,46729,184,40913,273,0001,021,0002,281,472
7Aug 3, 2024 04:464,47036,360,39713,282,0001,021,0002,281,472
8Aug 3, 2024 04:464,47430,076,82013,296,0001,022,0002,281,472
9Aug 3, 2024 04:464,49234,368,45613,349,0001,026,0002,281,472
10Aug 3, 2024 04:464,71996,427,37215,101,94102,334,720
11Aug 3, 2024 04:464,73979,079,57015,164,61902,211,840
12Aug 3, 2024 04:464,74391,456,27315,179,17402,334,720