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 29, 2024 19:32Joad NacerJoad NacerScore: 4,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 19:324,34226,496,30813,893,00002,428,928
2Nov 29, 2024 19:324,34238,813,38211,909,0001,984,0002,269,184
3Nov 29, 2024 19:324,34427,399,59613,901,00002,428,928
4Nov 29, 2024 19:324,35330,894,07212,935,000995,0002,531,328
5Nov 29, 2024 19:324,35435,043,38912,938,000995,0002,531,328
6Nov 29, 2024 19:334,35731,558,43412,946,000995,0002,437,120
7Nov 29, 2024 19:334,35835,410,88612,949,000996,0002,428,928
8Nov 29, 2024 19:324,36229,143,29512,962,000997,0002,433,024
9Nov 29, 2024 19:324,36830,184,05112,981,000998,0002,428,928
10Nov 29, 2024 19:334,36829,874,22212,980,000998,0002,531,328
11Nov 29, 2024 19:324,37328,297,81412,996,000999,0002,531,328
12Nov 29, 2024 19:324,37828,925,67913,009,0001,000,0002,433,024