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 listMay 17, 2023 23:09Martin StensgårdMartin StensgårdScore: 5,456Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2023 16:395,42734,846,51117,365,00002,531,328
2May 17, 2023 23:095,43042,588,04717,377,00002,531,328
3May 23, 2023 16:395,43145,466,01417,378,00002,494,464
4May 17, 2023 23:095,43536,386,34717,392,00002,269,184
5May 23, 2023 16:395,43942,967,63817,405,00002,498,560
6May 17, 2023 23:095,43945,139,66717,406,00002,527,232
7May 17, 2023 23:095,44239,743,69817,415,00002,502,656
8May 23, 2023 16:395,44845,726,09217,435,00002,531,328
9May 17, 2023 23:095,44933,740,29217,437,00002,531,328
10May 23, 2023 16:395,44936,209,07417,436,00002,531,328
11May 23, 2023 16:395,45438,811,26417,454,00002,269,184
12May 17, 2023 23:095,45530,719,04617,457,00002,498,560
13May 23, 2023 16:395,45637,120,08817,460,00002,498,560
14May 17, 2023 23:095,46038,954,58516,444,0001,027,0002,531,328
15May 23, 2023 16:395,46841,924,92117,496,00002,269,184
16May 17, 2023 23:095,47239,932,52917,510,00002,498,560
17May 17, 2023 23:095,47238,650,13617,509,00002,531,328
18May 23, 2023 16:395,50041,216,15216,624,000977,0002,269,184
19May 17, 2023 23:095,67188,041,43318,146,33102,203,648
20May 17, 2023 23:095,67466,123,57118,158,22502,248,704
21May 23, 2023 16:395,67759,451,58218,165,54002,244,608
22May 23, 2023 16:395,69591,768,62118,223,36602,240,512
23May 23, 2023 16:395,70186,634,97518,243,33602,240,512
24May 17, 2023 23:095,71185,066,12518,274,49202,244,608