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 listFeb 22, 2024 12:55Huy Duc LeHuy Duc LeScore: 5,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:555,02637,422,94214,074,0002,010,0002,273,280
2Feb 22, 2024 12:555,02844,210,80314,078,0002,011,0002,523,136
3Feb 22, 2024 12:555,03038,968,63514,085,0002,012,0002,293,760
4Feb 22, 2024 12:555,04244,344,06214,117,0002,016,0002,273,280
5Feb 22, 2024 12:555,04642,257,90014,129,0002,018,0002,293,760
6Feb 22, 2024 12:555,04640,400,67315,139,0001,009,0002,293,760
7Feb 22, 2024 12:555,05331,529,21514,147,0002,021,0002,289,664
8Feb 22, 2024 12:555,05337,372,31916,169,00002,293,760
9Feb 22, 2024 12:555,06839,410,95014,191,0002,027,0002,527,232
10Feb 22, 2024 12:555,24583,224,46116,784,24702,293,760
11Feb 22, 2024 12:555,25873,054,04216,824,28002,293,760
12Feb 22, 2024 12:555,265114,356,70516,849,59402,306,048