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 listJun 8, 2024 21:08AndreyTSAndreyTSScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:085,22832,819,41716,730,00002,289,664
2Jun 8, 2024 21:085,22933,668,36715,688,0001,045,0002,289,664
3Jun 8, 2024 21:085,26942,601,90216,860,00002,383,872
4Jun 8, 2024 21:085,26945,424,20815,870,000991,0002,289,664
5Jun 8, 2024 21:085,27447,195,60216,877,00002,273,280
6Jun 8, 2024 21:085,27738,162,24014,899,0001,986,0002,289,664
7Jun 8, 2024 21:085,27840,119,70214,903,0001,987,0002,289,664
8Jun 8, 2024 21:085,30332,854,19114,975,0001,996,0002,273,280
9Jun 8, 2024 21:085,32640,258,97016,041,0001,002,0002,269,184
10Jun 8, 2024 21:085,50577,387,28017,615,14302,174,976
11Jun 8, 2024 21:085,51688,289,44317,651,03202,187,264
12Jun 8, 2024 21:085,51873,577,23917,656,29802,301,952