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 18:46AndreyTSAndreyTSScore: 5,382Success
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 18:465,33939,646,14515,075,0002,010,0002,277,376
2Jun 8, 2024 18:465,35539,294,68515,121,0002,016,0002,289,664
3Jun 8, 2024 18:465,35938,822,99215,132,0002,017,0002,277,376
4Jun 8, 2024 18:465,36046,746,44715,135,0002,018,0002,387,968
5Jun 8, 2024 18:465,36539,269,25716,158,0001,009,0002,289,664
6Jun 8, 2024 18:465,38041,674,04115,190,0002,025,0002,265,088
7Jun 8, 2024 18:465,38240,911,10215,195,0002,026,0002,289,664
8Jun 8, 2024 18:465,38834,337,75115,212,0002,028,0002,273,280
9Jun 8, 2024 18:465,39044,562,02515,218,0002,029,0002,289,664
10Jun 8, 2024 18:465,62079,554,16317,984,16002,297,856
11Jun 8, 2024 18:465,62980,505,12718,013,99002,174,976
12Jun 8, 2024 18:465,63467,692,47718,029,24402,301,952