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 27, 2024 16:32Hayden DonnellyHayden DonnellyScore: 48,969Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 16:3248,840177,835,391132,245,00024,044,0002,342,912
2Nov 27, 2024 16:3248,841181,281,451131,245,00025,046,0002,510,848
3Nov 27, 2024 16:3248,890183,263,202126,363,00030,086,0002,293,760
4Nov 27, 2024 16:3248,935191,399,133126,479,00030,114,0002,510,848
5Nov 27, 2024 16:3248,969184,203,660137,737,00018,963,0002,285,568
6Nov 27, 2024 16:3249,002186,860,000124,847,00031,960,0002,506,752
7Nov 27, 2024 16:3249,006183,759,179126,854,00029,965,0002,510,848
8Nov 27, 2024 16:3249,013180,523,041136,863,00019,980,0002,338,816
9Nov 27, 2024 16:3249,040185,301,479126,943,00029,986,0002,285,568