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 10, 2023 07:38parsersmailparsersmailScore: 5,958Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 07:385,90748,181,91216,912,0001,989,0002,334,720
2Aug 10, 2023 07:385,90846,625,95715,921,0002,985,0002,334,720
3Aug 10, 2023 07:385,90947,520,70618,908,00002,334,720
4Aug 10, 2023 07:385,91144,072,97717,920,000995,0002,293,760
5Aug 10, 2023 07:385,92742,890,55216,971,0001,996,0002,424,832
6Aug 10, 2023 07:385,94846,411,69917,030,0002,003,0002,289,664
7Aug 10, 2023 07:385,95846,672,09817,060,0002,007,0002,334,720
8Aug 10, 2023 07:385,96050,572,05918,070,0001,003,0002,334,720
9Aug 10, 2023 07:385,96450,910,14218,080,0001,004,0002,297,856
10Aug 10, 2023 07:386,00164,415,90319,201,65402,269,184
11Aug 10, 2023 07:386,00889,833,92819,226,68102,260,992
12Aug 10, 2023 07:386,07281,503,96519,430,10702,269,184