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:17Robert BurkeRobert BurkeScore: 4,458Success
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:174,44240,629,97212,184,0002,030,0002,281,472
2Apr 18, 2024 14:174,44230,821,46012,185,0002,030,0002,281,472
3Apr 18, 2024 14:174,44338,562,27312,187,0002,031,0002,281,472
4Apr 18, 2024 14:174,44629,934,27212,196,0002,032,0002,281,472
5Apr 18, 2024 14:174,45132,647,45812,208,0002,034,0002,281,472
6Apr 18, 2024 14:174,45533,799,09112,219,0002,036,0002,445,312
7Apr 18, 2024 14:174,45835,895,37813,246,0001,018,0002,281,472
8Apr 18, 2024 14:174,47136,901,01512,264,0002,044,0002,281,472
9Apr 18, 2024 14:174,47444,824,44812,273,0002,045,0002,535,424
10Apr 18, 2024 14:174,785100,505,51815,312,00202,207,744
11Apr 18, 2024 14:174,78775,719,98915,318,67702,211,840
12Apr 18, 2024 14:174,80787,272,08915,381,80702,207,744