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 listNov 6, 2024 22:45CountHarebourgCountHarebourgScore: 11,265Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 22:3011,08956,809,6045,069,00030,417,0002,281,472
2Nov 6, 2024 22:2911,11059,260,2417,110,00028,443,0002,289,664
3Nov 6, 2024 22:3011,21659,220,6656,978,00028,912,0002,269,184
4Nov 6, 2024 22:2911,22863,897,1238,982,00026,948,0002,289,664
5Nov 6, 2024 22:4511,24263,357,0834,996,00030,977,0002,277,376
6Nov 6, 2024 22:2911,25859,124,9786,004,00030,020,0002,277,376
7Nov 6, 2024 22:2911,25861,127,5396,004,00030,021,0002,289,664
8Nov 6, 2024 22:2911,26558,076,5046,008,00030,040,0002,289,664
9Nov 6, 2024 22:4511,27563,785,29410,022,00026,057,0002,281,472
10Nov 6, 2024 22:2911,29459,183,8614,015,00032,126,0002,281,472
11Nov 6, 2024 22:3011,35859,416,3454,038,00032,309,0002,281,472
12Nov 6, 2024 22:2911,36965,401,8974,042,00032,339,0002,289,664
13Nov 6, 2024 22:2911,40064,446,9698,106,00028,373,0002,281,472
14Nov 6, 2024 22:4511,44171,555,3486,102,00030,510,0002,273,280
15Nov 6, 2024 22:2911,44361,830,47611,188,00025,428,0002,281,472