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 listMay 17, 2021 23:18Yuriy LyfenkoYuriy LyfenkoScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:185,2213,451,104,20314,742,0001,965,0002,260,992
2May 17, 2021 23:185,2561,486,504,87914,841,0001,978,0002,523,136
3May 17, 2021 23:185,2611,988,403,04314,854,0001,980,0002,387,968
4May 17, 2021 23:185,2622,159,315,55314,857,0001,980,0002,527,232
5May 17, 2021 23:185,2621,602,955,19415,849,000990,0002,260,992
6May 17, 2021 23:185,2642,558,887,75015,854,000990,0002,260,992
7May 17, 2021 23:185,274829,654,24915,884,000992,0002,383,872
8May 17, 2021 23:185,2792,230,618,58215,901,000993,0002,387,968
9May 17, 2021 23:185,3311,422,663,95816,057,0001,003,0002,260,992
10May 17, 2021 23:185,450949,985,47117,441,35902,277,376
11May 17, 2021 23:185,453795,977,30417,449,93802,285,568
12May 17, 2021 23:185,4843,391,620,22817,549,93602,285,568