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 5, 2024 14:20Nao YonashiroNao YonashiroScore: 4,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2024 14:204,44238,358,41812,183,0002,030,0002,265,088
2Aug 5, 2024 14:204,44537,053,51613,208,0001,016,0002,392,064
3Aug 5, 2024 14:204,46234,712,97212,239,0002,039,0002,265,088
4Aug 5, 2024 14:304,46337,271,27312,242,0002,040,0002,265,088
5Aug 5, 2024 14:204,46333,639,01513,260,0001,020,0002,527,232
6Aug 5, 2024 14:304,46434,184,95913,265,0001,020,0002,383,872
7Aug 5, 2024 14:304,46533,536,69612,248,0002,041,0002,265,088
8Aug 5, 2024 14:304,46633,897,77112,249,0002,041,0002,392,064
9Aug 5, 2024 14:304,47130,633,66813,286,0001,022,0002,265,088
10Aug 5, 2024 14:204,47632,134,49712,277,0002,046,0002,265,088
11Aug 5, 2024 14:204,48529,242,34713,326,0001,025,0002,506,752
12Aug 5, 2024 14:204,48736,564,78113,334,0001,025,0002,392,064
13Aug 5, 2024 14:304,48731,626,33813,332,0001,025,0002,265,088
14Aug 5, 2024 14:204,49031,861,74513,343,0001,026,0002,265,088
15Aug 5, 2024 14:204,49636,074,95313,361,0001,027,0002,387,968
16Aug 5, 2024 14:304,49832,941,26614,392,00002,265,088
17Aug 5, 2024 14:304,50331,083,51214,410,00002,265,088
18Aug 5, 2024 14:304,53131,187,06114,500,00002,265,088
19Aug 5, 2024 14:304,71797,606,06415,093,42602,289,664
20Aug 5, 2024 14:204,71991,663,50215,101,51402,293,760
21Aug 5, 2024 14:204,72573,573,04715,119,61902,285,568
22Aug 5, 2024 14:304,72865,105,59315,129,25602,285,568
23Aug 5, 2024 14:204,74781,149,96515,189,23602,289,664
24Aug 5, 2024 14:304,75397,897,78615,208,37902,277,376