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 27, 2024 21:09Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,509Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 21:095,44685,553,65617,426,19402,174,976
2Feb 27, 2024 21:095,45079,982,30717,438,55902,297,856
3Feb 27, 2024 21:095,47869,412,91017,529,90402,297,856
4Feb 27, 2024 21:095,48484,978,99517,547,77102,301,952
5Feb 27, 2024 21:095,48538,515,30616,521,0001,032,0002,281,472
6Feb 27, 2024 21:095,49096,443,21617,568,19702,297,856
7Feb 27, 2024 21:095,49744,959,19516,556,0001,034,0002,396,160
8Feb 27, 2024 21:095,499105,765,85217,595,61802,297,856
9Feb 27, 2024 21:095,50140,332,07916,567,0001,035,0002,400,256
10Feb 27, 2024 21:095,50244,413,50417,605,00002,404,352
11Feb 27, 2024 21:095,50344,423,86117,610,00002,281,472
12Feb 27, 2024 21:095,50737,360,66617,622,00002,396,160
13Feb 27, 2024 21:095,50949,037,28216,593,0001,037,0002,404,352
14Feb 27, 2024 21:095,51048,260,15616,596,0001,037,0002,396,160
15Feb 27, 2024 21:095,51541,313,13616,610,0001,038,0002,281,472
16Feb 27, 2024 21:095,51548,146,08317,648,00002,281,472
17Feb 27, 2024 21:095,52441,662,19917,677,00002,281,472
18Feb 27, 2024 21:095,52945,030,17216,652,0001,040,0002,404,352
19Feb 27, 2024 21:095,53234,810,76016,662,0001,041,0002,277,376
20Feb 27, 2024 21:095,53542,938,04216,670,0001,041,0002,506,752
21Feb 27, 2024 21:095,54244,013,09116,692,0001,043,0002,400,256
22Feb 27, 2024 21:095,57943,811,72815,871,0001,983,0002,281,472
23Feb 27, 2024 21:095,58142,586,70915,874,0001,984,0002,412,544
24Feb 27, 2024 21:095,58444,968,23216,878,000992,0002,400,256