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 3, 2024 21:42джулисджулисScore: 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
1Aug 3, 2024 21:425,46540,599,02116,460,0001,028,0002,527,232
2Aug 3, 2024 21:425,47445,086,16416,486,0001,030,0002,519,040
3Aug 3, 2024 21:425,47846,933,96116,498,0001,031,0002,265,088
4Aug 3, 2024 21:425,49340,732,35617,576,00002,289,664
5Aug 3, 2024 21:425,49740,538,99616,556,0001,034,0002,269,184
6Aug 3, 2024 21:425,50344,585,26716,573,0001,035,0002,289,664
7Aug 3, 2024 21:425,50943,092,35516,593,0001,037,0002,383,872
8Aug 3, 2024 21:425,51543,388,80017,647,00002,269,184
9Aug 3, 2024 21:425,53849,483,79316,680,0001,042,0002,265,088
10Aug 3, 2024 21:425,74466,742,53518,380,02202,301,952
11Aug 3, 2024 21:425,78586,878,90718,511,77302,174,976
12Aug 3, 2024 21:425,78785,721,36318,519,82902,179,072