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 listApr 18, 2024 14:16Robert BurkeRobert BurkeScore: 4,461Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:164,42130,071,14812,127,0002,021,0002,449,408
2Apr 18, 2024 14:164,42733,296,23212,143,0002,023,0002,281,472
3Apr 18, 2024 14:164,43930,300,66612,176,0002,029,0002,281,472
4Apr 18, 2024 14:164,43930,999,32012,176,0002,029,0002,281,472
5Apr 18, 2024 14:164,45631,800,95212,222,0002,037,0002,281,472
6Apr 18, 2024 14:164,45833,076,37312,227,0002,037,0002,281,472
7Apr 18, 2024 14:164,46130,236,35413,255,0001,019,0002,277,376
8Apr 18, 2024 14:164,46138,407,46313,256,0001,019,0002,449,408
9Apr 18, 2024 14:164,50643,538,82513,390,0001,030,0002,273,280
10Apr 18, 2024 14:164,73563,084,60615,153,34702,207,744
11Apr 18, 2024 14:164,78857,670,92015,320,62602,330,624
12Apr 18, 2024 14:164,78988,022,23115,324,38702,203,648