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 14, 2024 11:23kytanskytansScore: 5,188Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 11:235,15636,825,21216,499,00002,494,464
2Jul 14, 2024 11:235,15633,944,34416,500,00002,277,376
3Jul 14, 2024 11:235,15738,039,07316,501,00002,277,376
4Jul 14, 2024 11:235,17033,766,98416,544,00002,494,464
5Jul 14, 2024 11:235,17434,455,47316,557,00002,494,464
6Jul 14, 2024 11:235,18639,389,39116,594,00002,502,656
7Jul 14, 2024 11:235,18831,243,16115,566,0001,037,0002,535,424
8Jul 14, 2024 11:235,19042,931,12616,607,00002,277,376
9Jul 14, 2024 11:235,20638,393,47315,619,0001,041,0002,277,376
10Jul 14, 2024 11:235,41062,275,04317,310,71902,240,512
11Jul 14, 2024 11:235,42694,594,89817,362,64002,240,512
12Jul 14, 2024 11:235,43675,623,70317,393,62702,236,416