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 14:11kytanskytansScore: 5,116Success
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 14:115,04139,749,98515,124,0001,008,0002,502,656
2Jul 15, 2024 14:115,05333,292,70515,159,0001,010,0002,506,752
3Jul 15, 2024 14:115,07643,729,44916,243,00002,277,376
4Jul 15, 2024 14:115,07732,167,59516,245,00002,502,656
5Jul 15, 2024 14:115,07832,216,84716,251,00002,506,752
6Jul 15, 2024 14:115,10438,664,27515,312,0001,020,0002,535,424
7Jul 15, 2024 14:115,11635,371,71216,372,00002,502,656
8Jul 15, 2024 14:115,13832,645,89515,414,0001,027,0002,506,752
9Jul 15, 2024 14:115,15136,197,06515,453,0001,030,0002,510,848
10Jul 15, 2024 14:115,33482,878,89917,070,07202,252,800
11Jul 15, 2024 14:115,35462,744,67217,132,79802,248,704
12Jul 15, 2024 14:115,37489,575,91017,198,26002,387,968