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:54kytanskytansScore: 4,455Success
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:544,40031,610,93713,074,0001,005,0002,502,656
2Jul 15, 2024 13:544,40630,474,95813,093,0001,007,0002,277,376
3Jul 15, 2024 13:544,42132,120,95013,137,0001,010,0002,277,376
4Jul 15, 2024 13:544,43532,440,30413,178,0001,013,0002,277,376
5Jul 15, 2024 13:544,44036,648,82613,194,0001,014,0002,277,376
6Jul 15, 2024 13:544,44630,952,35413,211,0001,016,0002,502,656
7Jul 15, 2024 13:544,45533,757,47814,257,00002,277,376
8Jul 15, 2024 13:544,46433,042,84913,264,0001,020,0002,506,752
9Jul 15, 2024 13:544,47536,204,18314,321,00002,506,752
10Jul 15, 2024 13:544,66996,202,89014,940,31302,244,608
11Jul 15, 2024 13:544,70182,570,81815,043,75802,252,800
12Jul 15, 2024 13:544,70561,948,82815,057,06902,244,608