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 listJan 29, 2024 07:39CalCalScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2024 07:395,26940,097,65514,877,0001,983,0002,281,472
2Jan 29, 2024 07:375,26946,010,27615,871,000991,0002,281,472
3Jan 29, 2024 07:375,27143,768,78515,876,000992,0002,281,472
4Jan 29, 2024 07:375,27343,794,34014,890,0001,985,0002,523,136
5Jan 29, 2024 07:375,27341,283,85516,875,00002,404,352
6Jan 29, 2024 07:375,27335,254,01314,887,0001,985,0002,400,256
7Jan 29, 2024 07:375,27448,448,92715,886,000992,0002,404,352
8Jan 29, 2024 07:375,27443,857,34515,885,000992,0002,281,472
9Jan 29, 2024 07:395,27445,679,86914,893,0001,985,0002,404,352
10Jan 29, 2024 07:395,27537,968,07014,894,0001,985,0002,392,064
11Jan 29, 2024 07:395,27540,845,98014,894,0001,985,0002,400,256
12Jan 29, 2024 07:395,27642,225,11315,891,000993,0002,404,352
13Jan 29, 2024 07:395,27641,694,08615,891,000993,0002,281,472
14Jan 29, 2024 07:395,27743,606,83414,901,0001,986,0002,281,472
15Jan 29, 2024 07:375,27842,953,04515,895,000993,0002,510,848
16Jan 29, 2024 07:375,29734,707,54915,953,000997,0002,400,256
17Jan 29, 2024 07:395,29846,848,33715,955,000997,0002,281,472
18Jan 29, 2024 07:395,30846,186,34815,098,0001,887,0002,412,544
19Jan 29, 2024 07:375,47166,200,19517,505,61902,293,760
20Jan 29, 2024 07:375,47278,021,03317,509,81402,301,952
21Jan 29, 2024 07:375,47468,867,55817,516,90202,297,856
22Jan 29, 2024 07:395,48294,082,94517,542,09402,297,856
23Jan 29, 2024 07:395,48293,507,41617,542,53302,301,952
24Jan 29, 2024 07:395,49694,341,64917,586,73502,301,952