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 listDec 11, 2024 23:15MatthiasMatthiasScore: 4,796Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2024 23:084,75936,084,30913,199,0002,030,0002,285,568
2Dec 11, 2024 23:144,76032,316,27413,201,0002,030,0002,510,848
3Dec 11, 2024 23:154,76032,252,74913,201,0002,030,0002,285,568
4Dec 11, 2024 23:084,76331,100,88713,208,0002,032,0002,285,568
5Dec 11, 2024 23:084,76831,709,63613,223,0002,034,0002,379,776
6Dec 11, 2024 21:584,77032,485,98615,265,00002,285,568
7Dec 11, 2024 23:084,77033,780,84113,230,0002,035,0002,510,848
8Dec 11, 2024 23:154,77137,106,53913,232,0002,035,0002,379,776
9Dec 11, 2024 21:584,77443,478,71013,240,0002,036,0002,285,568
10Dec 11, 2024 21:584,77736,466,90513,247,0002,038,0002,519,040
11Dec 11, 2024 21:584,78041,679,11414,278,0001,019,0002,285,568
12Dec 11, 2024 23:144,78035,534,13413,258,0002,039,0002,285,568
13Dec 11, 2024 23:084,78135,926,04813,259,0002,039,0002,265,088
14Dec 11, 2024 23:144,78732,203,78914,298,0001,021,0002,519,040
15Dec 11, 2024 21:584,78841,230,80414,302,0001,021,0002,392,064
16Dec 11, 2024 23:144,79043,375,21114,306,0001,021,0002,285,568
17Dec 11, 2024 23:084,79639,128,45114,324,0001,023,0002,285,568
18Dec 11, 2024 23:154,79741,160,38214,326,0001,023,0002,285,568
19Dec 11, 2024 23:154,79936,702,18013,311,0002,047,0002,519,040
20Dec 11, 2024 23:154,80235,809,32713,317,0002,048,0002,285,568
21Dec 11, 2024 23:144,80840,834,47415,387,00002,285,568
22Dec 11, 2024 23:084,80932,426,72314,363,0001,025,0002,523,136
23Dec 11, 2024 21:584,81435,467,95613,351,0002,054,0002,260,992
24Dec 11, 2024 21:584,81448,365,85115,404,00002,510,848
25Dec 11, 2024 23:084,81632,796,83214,383,0001,027,0002,285,568
26Dec 11, 2024 21:584,81730,173,98314,386,0001,027,0002,355,200
27Dec 11, 2024 21:584,82335,448,18314,406,0001,029,0002,285,568
28Dec 11, 2024 23:154,82537,784,98314,411,0001,029,0002,285,568
29Dec 11, 2024 23:154,82631,593,88914,415,0001,029,0002,523,136
30Dec 11, 2024 23:154,83629,544,29614,445,0001,031,0002,519,040
31Dec 11, 2024 23:084,83938,034,82414,454,0001,032,0002,285,568
32Dec 11, 2024 23:154,96843,138,40513,912,0001,987,0002,285,568
33Dec 11, 2024 23:145,09737,297,83514,271,0002,038,0002,523,136