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:10kytanskytansScore: 5,177Success
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:105,15030,560,13916,479,00002,502,656
2Jul 14, 2024 11:105,15138,029,32116,482,00002,498,560
3Jul 14, 2024 11:105,15432,516,17416,492,00002,498,560
4Jul 14, 2024 11:105,15933,735,91516,509,00002,277,376
5Jul 14, 2024 11:105,17041,492,63116,543,00002,277,376
6Jul 14, 2024 11:105,17338,594,11016,553,00002,277,376
7Jul 14, 2024 11:105,17738,887,75915,532,0001,035,0002,277,376
8Jul 14, 2024 11:105,19037,112,38516,609,00002,535,424
9Jul 14, 2024 11:105,19642,173,35315,588,0001,039,0002,498,560
10Jul 14, 2024 11:105,42183,111,26217,348,28902,236,416
11Jul 14, 2024 11:105,43986,089,73317,406,38002,244,608
12Jul 14, 2024 11:105,45467,837,94017,453,87202,244,608