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 17:10Robert BurkeRobert BurkeScore: 4,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 17:104,42830,280,46212,147,0002,024,0002,281,472
2Apr 18, 2024 17:104,43034,285,73912,152,0002,025,0002,281,472
3Apr 18, 2024 17:104,43235,181,77212,156,0002,026,0002,281,472
4Apr 18, 2024 17:104,43829,233,41612,173,0002,028,0002,445,312
5Apr 18, 2024 17:104,43830,099,98012,174,0002,029,0002,457,600
6Apr 18, 2024 17:104,44137,045,68912,180,0002,030,0002,281,472
7Apr 18, 2024 17:104,44134,703,78912,180,0002,030,0002,445,312
8Apr 18, 2024 17:104,44234,823,98012,184,0002,030,0002,449,408
9Apr 18, 2024 17:104,47032,002,46013,283,0001,021,0002,281,472
10Apr 18, 2024 17:104,70795,076,55015,063,99002,211,840
11Apr 18, 2024 17:104,72466,190,55315,117,84702,260,992
12Apr 18, 2024 17:104,72791,613,59415,125,83002,203,648