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 listJan 19, 2024 09:44AnSaAnSaScore: 5,315Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 09:445,28536,114,67314,923,0001,989,0002,400,256
2Jan 19, 2024 09:445,28943,999,00415,930,000995,0002,396,160
3Jan 19, 2024 09:445,29038,152,43714,938,0001,991,0002,392,064
4Jan 19, 2024 09:445,29735,369,81015,954,000997,0002,506,752
5Jan 19, 2024 09:445,29935,574,47814,963,0001,995,0002,281,472
6Jan 19, 2024 09:445,30239,109,47015,969,000998,0002,392,064
7Jan 19, 2024 09:445,31537,479,32316,009,0001,000,0002,281,472
8Jan 19, 2024 09:445,32341,092,34316,032,0001,002,0002,281,472
9Jan 19, 2024 09:445,33143,616,94316,056,0001,003,0002,396,160
10Jan 19, 2024 09:445,50486,009,93317,613,54002,277,376
11Jan 19, 2024 09:445,51260,318,07717,639,04702,265,088
12Jan 19, 2024 09:445,52393,954,71817,673,45102,256,896