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 5, 2024 22:23Michael KlimenkoMichael KlimenkoScore: 10,598Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 22:2310,57964,362,60332,858,000995,0002,273,280
2Nov 5, 2024 22:2310,58358,099,55631,874,0001,992,0002,519,040
3Nov 5, 2024 22:2310,58962,641,45332,860,0001,026,0002,269,184
4Nov 5, 2024 22:2310,59362,026,28831,903,0001,993,0002,289,664
5Nov 5, 2024 22:2310,59865,032,97631,919,0001,994,0002,289,664
6Nov 5, 2024 22:2310,61461,030,42331,967,0001,997,0002,269,184
7Nov 5, 2024 22:2310,63055,172,79932,016,0002,001,0002,355,200
8Nov 5, 2024 22:2310,63658,301,37732,034,0002,002,0002,269,184
9Nov 5, 2024 22:2310,65756,295,16733,100,0001,003,0002,273,280