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:15Yuriy LyfenkoYuriy LyfenkoScore: 5,284Success
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:155,2173,719,707,46114,731,0001,964,0002,523,136
2May 17, 2021 23:155,2353,395,022,69813,796,0002,956,0002,523,136
3May 17, 2021 23:155,2403,513,096,00814,796,0001,972,0002,519,040
4May 17, 2021 23:155,2402,823,289,34014,795,0001,972,0002,260,992
5May 17, 2021 23:155,2483,260,283,42115,806,000987,0002,523,136
6May 17, 2021 23:155,2543,599,044,50615,825,000989,0002,519,040
7May 17, 2021 23:155,2544,032,900,24613,846,0002,967,0002,519,040
8May 17, 2021 23:155,2583,288,078,46715,835,000989,0002,260,992
9May 17, 2021 23:155,2643,755,213,74815,855,000990,0002,523,136
10May 17, 2021 23:155,2681,655,052,65316,858,00002,519,040
11May 17, 2021 23:155,2782,580,373,78214,904,0001,987,0002,523,136
12May 17, 2021 23:155,2803,692,086,50216,896,00002,523,136
13May 17, 2021 23:155,2841,567,479,08315,031,0001,878,0002,260,992
14May 17, 2021 23:155,2841,973,486,50715,915,000994,0002,379,776
15May 17, 2021 23:155,2903,385,404,33613,942,0002,987,0002,269,184
16May 17, 2021 23:155,2913,439,086,52114,940,0001,992,0002,527,232
17May 17, 2021 23:155,3153,045,048,91316,007,0001,000,0002,260,992
18May 17, 2021 23:155,3811,130,371,24015,306,0001,913,0002,383,872
19May 17, 2021 23:155,4381,238,591,89317,402,56902,273,280
20May 17, 2021 23:155,4392,907,027,16217,403,38002,277,376
21May 17, 2021 23:155,4403,445,420,68717,409,40702,289,664
22May 17, 2021 23:155,4411,437,163,92817,411,92302,281,472
23May 17, 2021 23:155,4601,536,233,03617,472,58302,277,376
24May 17, 2021 23:155,4653,515,509,32417,487,69402,281,472