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 listJul 25, 2024 15:58Yuriy LyfenkoYuriy LyfenkoScore: 4,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:584,409540,194,27012,095,0002,015,0002,265,088
2Jul 25, 2024 15:584,428540,552,05512,147,0002,024,0002,260,992
3Jul 25, 2024 15:584,446535,308,39512,196,0002,032,0002,527,232
4Jul 25, 2024 15:584,447540,626,93714,229,00002,265,088
5Jul 25, 2024 15:584,450544,209,26212,206,0002,034,0002,265,088
6Jul 25, 2024 15:584,455536,552,71814,255,00002,269,184
7Jul 25, 2024 15:584,460538,700,15112,234,0002,039,0002,260,992
8Jul 25, 2024 15:584,462540,704,69514,277,00002,523,136
9Jul 25, 2024 15:584,478540,771,09113,307,0001,023,0002,523,136
10Jul 25, 2024 15:584,653571,893,86314,890,10702,285,568
11Jul 25, 2024 15:584,667588,082,46414,935,43802,289,664
12Jul 25, 2024 15:584,667588,592,75814,935,81002,281,472