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 listJul 15, 2024 13:45kytanskytansScore: 5,223Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 13:455,16941,221,25116,541,00002,277,376
2Jul 15, 2024 13:455,19743,735,97916,630,00002,535,424
3Jul 15, 2024 13:455,21239,833,86416,677,00002,506,752
4Jul 15, 2024 13:455,21344,418,17416,683,00002,277,376
5Jul 15, 2024 13:455,21530,705,59416,687,00002,277,376
6Jul 15, 2024 13:455,22235,223,89916,710,00002,277,376
7Jul 15, 2024 13:455,22338,154,00715,671,0001,044,0002,277,376
8Jul 15, 2024 13:455,26541,521,38315,858,000991,0002,277,376
9Jul 15, 2024 13:455,26838,566,54415,867,000991,0002,502,656
10Jul 15, 2024 13:455,74486,664,69018,381,49902,281,472
11Jul 15, 2024 13:455,75781,601,38718,422,05602,281,472
12Jul 15, 2024 13:4531,066154,261,56099,410,31902,236,416