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 listJan 17, 2024 10:25CalCalScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2024 10:255,22442,350,59215,674,0001,044,0002,412,544
2Jan 29, 2024 07:295,22545,243,19416,720,00002,404,352
3Jan 17, 2024 10:255,22741,233,14915,680,0001,045,0002,281,472
4Jan 29, 2024 07:295,22943,395,59215,688,0001,045,0002,281,472
5Jan 29, 2024 07:295,23036,150,78715,690,0001,046,0002,281,472
6Jan 29, 2024 07:295,26043,580,59714,853,0001,980,0002,400,256
7Jan 29, 2024 07:295,26740,092,64316,853,00002,281,472
8Jan 29, 2024 07:295,26932,722,57314,878,0001,983,0002,281,472
9Jan 17, 2024 10:255,27043,313,84814,880,0001,984,0002,400,256
10Jan 29, 2024 07:295,27044,842,97915,872,000992,0002,400,256
11Jan 17, 2024 10:255,27233,008,50315,877,000992,0002,392,064
12Jan 29, 2024 07:295,27250,008,82714,886,0001,984,0002,400,256
13Jan 17, 2024 10:255,27333,815,98615,882,000992,0002,510,848
14Jan 29, 2024 07:295,27342,922,06816,875,00002,510,848
15Jan 17, 2024 10:255,27432,694,52816,876,00002,404,352
16Jan 17, 2024 10:255,27439,827,75616,878,00002,281,472
17Jan 17, 2024 10:255,27952,522,18814,907,0001,987,0002,396,160
18Jan 17, 2024 10:255,28343,446,86214,917,0001,989,0002,281,472
19Jan 29, 2024 07:295,43794,806,50217,397,61102,293,760
20Jan 17, 2024 10:255,43782,262,30217,398,03402,293,760
21Jan 29, 2024 07:295,43877,564,56417,400,35602,174,976
22Jan 17, 2024 10:255,46194,198,91517,475,95302,301,952
23Jan 17, 2024 10:255,46777,613,59317,493,23202,297,856
24Jan 29, 2024 07:295,48573,011,83317,551,97502,293,760