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 17, 2024 15:41Joad NacerJoad NacerScore: 5,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 15:415,27646,221,23214,898,0001,986,0002,289,664
2Apr 17, 2024 15:415,27945,610,99214,907,0001,987,0002,277,376
3Apr 17, 2024 15:415,28244,490,22614,915,0001,988,0002,527,232
4Apr 17, 2024 15:415,28433,911,27014,920,0001,989,0002,273,280
5Apr 17, 2024 15:415,29244,449,32315,938,000996,0002,269,184
6Apr 17, 2024 15:415,31440,582,54715,005,0002,000,0002,363,392
7Apr 17, 2024 15:415,32643,454,00416,042,0001,002,0002,289,664
8Apr 17, 2024 15:415,34040,614,00715,078,0002,010,0002,363,392
9Apr 17, 2024 15:415,35639,250,90915,122,0002,016,0002,289,664
10Apr 17, 2024 15:415,51660,772,49017,652,28602,252,800
11Apr 17, 2024 15:415,52287,475,28717,671,25002,179,072
12Apr 17, 2024 15:415,53391,886,89517,706,65302,252,800