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 19:23Robert BurkeRobert BurkeScore: 4,418Success
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 19:234,40528,502,98312,082,0002,013,0002,281,472
2Apr 18, 2024 19:234,40631,317,77712,086,0002,014,0002,449,408
3Apr 18, 2024 19:234,41327,614,80712,103,0002,017,0002,445,312
4Apr 18, 2024 19:234,41538,680,67412,109,0002,018,0002,281,472
5Apr 18, 2024 19:234,41532,644,32112,110,0002,018,0002,281,472
6Apr 18, 2024 19:234,41535,223,87012,110,0002,018,0002,449,408
7Apr 18, 2024 19:234,41837,889,35212,117,0002,019,0002,445,312
8Apr 18, 2024 19:234,42631,502,01512,139,0002,023,0002,457,600
9Apr 18, 2024 19:234,45132,185,20912,208,0002,034,0002,445,312
10Apr 18, 2024 19:234,65856,425,36814,904,40202,199,552
11Apr 18, 2024 19:234,68053,885,38714,974,98002,211,840
12Apr 18, 2024 19:234,71585,100,56215,087,77602,211,840