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 listSep 17, 2024 19:46Matvey BunosMatvey BunosScore: 5,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2024 19:465,89644,724,59915,889,0002,979,0002,281,472
2Sep 17, 2024 19:465,89839,173,72816,887,0001,986,0002,273,280
3Sep 17, 2024 19:465,89844,483,16716,888,0001,986,0002,273,280
4Sep 17, 2024 19:465,89845,039,17118,875,00002,387,968
5Sep 17, 2024 19:465,90144,492,15916,897,0001,987,0002,277,376
6Sep 17, 2024 19:465,90140,227,70716,897,0001,987,0002,277,376
7Sep 17, 2024 19:465,92053,638,39517,946,000997,0002,277,376
8Sep 17, 2024 19:465,92047,386,55816,950,0001,994,0002,281,472
9Sep 17, 2024 19:465,95447,982,05917,047,0002,005,0002,277,376