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 24, 2025 17:15lukostlukostScore: 11,519Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 17:1511,45163,460,4726,107,00030,536,0002,265,088
2Apr 24, 2025 17:1511,51662,239,0764,979,00031,871,0002,277,376
3Apr 24, 2025 17:1511,51864,118,52810,957,00025,899,0002,265,088
4Apr 24, 2025 17:1511,51866,765,0088,965,00027,892,0002,519,040
5Apr 24, 2025 17:1511,51965,345,8268,966,00027,895,0002,269,184
6Apr 24, 2025 17:1511,52462,907,4269,219,00027,657,0002,277,376
7Apr 24, 2025 17:1511,60959,675,0415,020,00032,128,0002,260,992
8Apr 24, 2025 17:1511,68364,675,5065,052,00032,334,0002,285,568
9Apr 24, 2025 17:1511,89561,948,82110,017,00028,047,0002,379,776