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 listSep 28, 2023 21:15IhebIhebScore: 5,891Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2023 21:115,71934,853,09416,267,0002,033,0002,289,664
2Sep 28, 2023 21:115,73139,727,50816,301,0002,037,0002,277,376
3Sep 28, 2023 21:115,74534,890,93816,341,0002,042,0002,289,664
4Sep 28, 2023 21:115,74737,484,35018,389,00002,289,664
5Sep 28, 2023 21:115,74840,104,01918,392,00002,281,472
6Sep 28, 2023 21:115,77241,483,27917,443,0001,026,0002,273,280
7Sep 28, 2023 21:115,77643,000,59117,457,0001,026,0002,289,664
8Sep 28, 2023 21:115,79239,114,75118,533,00002,269,184
9Sep 28, 2023 21:115,80341,499,00417,538,0001,031,0002,289,664
10Sep 28, 2023 21:155,85446,421,74317,694,0001,040,0002,277,376
11Sep 28, 2023 21:155,88944,899,17316,863,0001,983,0002,383,872
12Sep 28, 2023 21:155,89044,601,48018,848,00002,289,664
13Sep 28, 2023 21:155,89144,223,95718,852,00002,289,664
14Sep 28, 2023 21:155,89449,308,27716,876,0001,985,0002,269,184
15Sep 28, 2023 21:155,89447,572,62517,870,000992,0002,289,664
16Sep 28, 2023 21:155,90044,693,27216,893,0001,987,0002,289,664
17Sep 28, 2023 21:155,91342,099,25616,930,0001,991,0002,269,184
18Sep 28, 2023 21:155,92944,010,78017,976,000998,0002,355,200
19Sep 28, 2023 21:115,985107,171,11019,151,14202,293,760
20Sep 28, 2023 21:116,00391,315,93919,208,76502,301,952
21Sep 28, 2023 21:116,06693,625,60019,412,60702,301,952
22Sep 28, 2023 21:156,09080,607,84719,487,70202,301,952
23Sep 28, 2023 21:156,11886,749,43319,578,51702,252,800
24Sep 28, 2023 21:156,148107,437,35019,672,05102,174,976