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 listApr 18, 2024 14:12Robert BurkeRobert BurkeScore: 4,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2023 17:254,42629,137,21812,139,0002,023,0002,277,376
2Oct 17, 2023 17:254,43027,301,26312,152,0002,025,0002,453,504
3Apr 18, 2024 14:124,43038,805,98612,151,0002,025,0002,281,472
4Oct 17, 2023 17:254,43334,079,56012,160,0002,026,0002,445,312
5Apr 18, 2024 14:124,43835,497,76412,172,0002,028,0002,449,408
6Oct 17, 2023 17:254,44128,914,79012,180,0002,030,0002,277,376
7Oct 17, 2023 17:254,44641,978,26714,227,00002,281,472
8Apr 18, 2024 14:124,45030,526,38612,205,0002,034,0002,535,424
9Apr 18, 2024 14:124,45234,386,88512,211,0002,035,0002,535,424
10Oct 17, 2023 17:254,45233,745,04513,228,0001,017,0002,281,472
11Apr 18, 2024 14:124,45430,317,07213,236,0001,018,0002,281,472
12Apr 18, 2024 14:124,45828,937,92213,247,0001,019,0002,277,376
13Apr 18, 2024 14:124,46330,358,54013,261,0001,020,0002,277,376
14Oct 17, 2023 17:254,46339,255,14313,260,0001,020,0002,281,472
15Oct 17, 2023 17:254,46632,962,01713,272,0001,020,0002,281,472
16Apr 18, 2024 14:124,46935,576,14412,259,0002,043,0002,445,312
17Apr 18, 2024 14:124,47934,815,40012,286,0002,047,0002,281,472
18Oct 17, 2023 17:254,48734,408,15112,308,0002,051,0002,449,408
19Oct 17, 2023 17:254,68480,994,89214,987,87902,199,552
20Oct 17, 2023 17:254,68986,400,66215,003,84502,203,648
21Oct 17, 2023 17:254,71485,747,64715,084,81902,203,648
22Apr 18, 2024 14:124,73997,932,54015,165,79102,203,648
23Apr 18, 2024 14:124,74584,038,58815,183,68702,211,840
24Apr 18, 2024 14:124,78764,363,08215,318,76302,203,648