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 12, 2024 16:59Viktor SuprunViktor SuprunScore: 5,938Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 16:595,91244,873,90416,928,0001,991,0002,535,424
2Nov 12, 2024 16:595,91649,169,84115,943,0002,989,0002,351,104
3Nov 12, 2024 16:595,92048,246,73115,953,0002,991,0002,539,520
4Nov 12, 2024 16:595,92341,822,78115,961,0002,992,0002,363,392
5Nov 12, 2024 16:595,93846,296,92917,003,0002,000,0002,527,232
6Nov 12, 2024 16:595,93847,462,79216,003,0003,000,0002,535,424
7Nov 12, 2024 16:595,96247,823,45317,071,0002,008,0002,371,584
8Nov 12, 2024 16:595,96544,289,43617,080,0002,009,0002,531,328
9Nov 12, 2024 16:595,97032,971,82116,089,0003,016,0002,527,232