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 listFeb 29, 2024 06:52Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 29, 2024 06:525,42386,407,15217,353,14402,285,568
2Feb 29, 2024 06:525,42394,638,87417,352,97602,297,856
3Feb 29, 2024 06:535,42590,138,25317,360,29102,252,800
4Feb 29, 2024 06:535,43782,716,53417,397,85702,297,856
5Feb 29, 2024 06:535,452103,868,20917,446,84002,301,952
6Feb 29, 2024 06:525,46199,929,50317,473,73502,289,664
7Feb 29, 2024 06:525,49739,145,52116,556,0001,034,0002,400,256
8Feb 29, 2024 06:525,50239,760,48717,607,00002,281,472
9Feb 29, 2024 06:535,51243,393,72517,639,00002,281,472
10Feb 29, 2024 06:535,51746,987,65216,617,0001,038,0002,281,472
11Feb 29, 2024 06:525,52340,767,23117,673,00002,281,472
12Feb 29, 2024 06:535,52541,177,39516,698,000982,0002,404,352
13Feb 29, 2024 06:535,52536,424,43316,641,0001,040,0002,408,448
14Feb 29, 2024 06:535,52739,074,17216,647,0001,040,0002,404,352
15Feb 29, 2024 06:535,52848,716,19316,650,0001,040,0002,281,472
16Feb 29, 2024 06:525,52948,309,89717,694,00002,396,160
17Feb 29, 2024 06:535,53046,031,04817,695,00002,404,352
18Feb 29, 2024 06:525,53346,546,80617,704,00002,400,256
19Feb 29, 2024 06:535,54645,458,34615,775,0001,971,0002,281,472
20Feb 29, 2024 06:525,55036,146,93316,715,0001,044,0002,281,472
21Feb 29, 2024 06:525,57745,392,88816,854,000991,0002,281,472
22Feb 29, 2024 06:525,58347,924,13817,865,00002,281,472
23Feb 29, 2024 06:535,58543,032,53716,879,000992,0002,281,472
24Feb 29, 2024 06:525,58843,330,79716,889,000993,0002,281,472