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 listAug 17, 2024 05:16Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 05:1500000Error: No answer to stdout. Died or killed?stderr
2Aug 17, 2024 05:164,53432,473,25513,474,0001,036,0002,531,328
3Aug 17, 2024 05:164,53835,646,81214,520,00002,392,064
4Aug 17, 2024 05:164,54230,544,45012,459,0002,076,0002,531,328
5Aug 17, 2024 05:164,55132,274,75214,564,00002,269,184
6Aug 17, 2024 05:164,55132,801,54513,522,0001,040,0002,265,088
7Aug 17, 2024 05:164,56028,188,57014,592,00002,269,184
8Aug 17, 2024 05:164,56530,156,33114,609,00002,387,968
9Aug 17, 2024 05:164,56834,463,57012,530,0002,088,0002,269,184
10Aug 17, 2024 05:164,56931,602,91314,620,00002,531,328
11Aug 17, 2024 05:164,88394,666,49215,626,67302,277,376
12Aug 17, 2024 05:164,89287,596,06415,653,56302,273,280
13Aug 17, 2024 05:164,92989,613,30415,772,03002,273,280
14Aug 17, 2024 05:165,82280,328,35218,631,71602,318,336
15Aug 17, 2024 05:165,82971,165,79018,651,74402,314,240
16Aug 17, 2024 05:165,84490,774,04418,700,92802,314,240
17Aug 17, 2024 05:166,39947,037,38915,358,0005,119,0002,433,024
18Aug 17, 2024 05:166,42844,230,42516,456,0004,114,0002,297,856
19Aug 17, 2024 05:166,42845,168,00414,398,0006,170,0002,433,024
20Aug 17, 2024 05:166,42948,962,51914,402,0006,172,0002,420,736
21Aug 17, 2024 05:166,43043,122,88913,375,0007,202,0002,433,024
22Aug 17, 2024 05:166,43345,254,69815,439,0005,146,0002,428,928
23Aug 17, 2024 05:166,43541,881,40715,444,0005,148,0002,424,832
24Aug 17, 2024 05:166,44749,922,19516,504,0004,126,0002,428,928
25Aug 17, 2024 05:166,46246,787,93015,509,0005,169,0002,502,656