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 3, 2024 05:06MylesMylesScore: 4,425Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:064,39625,526,87612,058,0002,009,0002,281,472
2Aug 3, 2024 05:064,40430,638,35012,080,0002,013,0002,281,472
3Aug 3, 2024 05:064,40927,532,09712,093,0002,015,0002,277,376
4Aug 3, 2024 05:064,41028,345,28912,096,0002,016,0002,453,504
5Aug 3, 2024 05:064,41327,970,21512,103,0002,017,0002,449,408
6Aug 3, 2024 05:064,41330,655,07112,106,0002,017,0002,281,472
7Aug 3, 2024 05:064,41438,049,34412,107,0002,017,0002,445,312
8Aug 3, 2024 05:064,41729,541,67112,115,0002,019,0002,441,216
9Aug 3, 2024 05:064,41929,606,94312,120,0002,020,0002,453,504
10Aug 3, 2024 05:064,42231,134,20112,130,0002,021,0002,281,472
11Aug 3, 2024 05:064,42337,400,90212,132,0002,022,0002,445,312
12Aug 3, 2024 05:064,42435,788,10812,135,0002,022,0002,449,408
13Aug 3, 2024 05:064,42532,126,94812,138,0002,023,0002,281,472
14Aug 3, 2024 05:064,42834,927,37012,146,0002,024,0002,281,472
15Aug 3, 2024 05:064,42930,064,97012,149,0002,024,0002,445,312
16Aug 3, 2024 05:064,43329,496,83513,171,0001,013,0002,453,504
17Aug 3, 2024 05:064,43730,900,11912,171,0002,028,0002,445,312
18Aug 3, 2024 05:064,44429,868,21712,189,0002,031,0002,445,312
19Aug 3, 2024 05:064,68268,469,32814,983,87702,207,744
20Aug 3, 2024 05:064,68386,428,57614,985,99302,211,840
21Aug 3, 2024 05:064,68775,338,88814,999,98702,207,744
22Aug 3, 2024 05:064,68874,646,37215,000,21602,211,840
23Aug 3, 2024 05:064,69274,646,65415,015,90802,334,720
24Aug 3, 2024 05:064,69459,429,22115,021,98802,330,624