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 16, 2023 18:58Ulyanov AlekseyUlyanov AlekseyScore: 5,965Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 18:585,93240,464,19716,983,0001,998,0002,289,664
2Jun 16, 2023 18:585,93246,922,58917,983,000999,0002,531,328
3Jun 16, 2023 18:585,93439,698,71516,991,0001,998,0002,277,376
4Jun 16, 2023 18:585,94837,748,03417,030,0002,003,0002,531,328
5Jun 16, 2023 18:585,96443,151,09217,076,0002,008,0002,289,664
6Jun 16, 2023 18:585,96448,441,57617,076,0002,009,0002,289,664
7Jun 16, 2023 18:585,96541,402,17417,079,0002,009,0002,375,680
8Jun 16, 2023 18:585,96942,821,11117,092,0002,010,0002,269,184
9Jun 16, 2023 18:585,97244,427,47118,106,0001,005,0002,289,664
10Jun 16, 2023 18:586,12991,650,74919,612,73402,293,760
11Jun 16, 2023 18:586,13489,454,23619,630,19502,289,664
12Jun 16, 2023 18:586,14981,881,41019,677,10302,297,856