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 23, 2024 08:37AnSaAnSaScore: 7,459Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 08:377,21192,837,08823,073,99502,207,744
2Jan 23, 2024 08:377,37895,627,48623,610,54602,199,552
3Jan 23, 2024 08:377,43987,286,36923,804,87402,220,032
4Jan 23, 2024 08:377,45992,775,26423,868,44802,215,936
5Jan 23, 2024 08:377,47694,258,64323,923,12202,211,840
6Jan 23, 2024 08:377,48169,577,72323,938,85102,203,648