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 listJan 21, 2024 12:34AnSaAnSaScore: 5,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 12:345,43047,129,67616,355,0001,022,0002,281,472
2Jan 21, 2024 12:345,43338,804,19716,365,0001,022,0002,281,472
3Jan 21, 2024 12:345,43845,554,25516,377,0001,023,0002,281,472
4Jan 21, 2024 12:345,44843,549,39516,407,0001,025,0002,396,160
5Jan 21, 2024 12:345,45039,087,71016,414,0001,025,0002,510,848
6Jan 21, 2024 12:345,45238,666,97616,419,0001,026,0002,387,968
7Jan 21, 2024 12:345,45842,262,38817,464,00002,392,064
8Jan 21, 2024 12:345,46541,227,78716,459,0001,028,0002,392,064
9Jan 21, 2024 12:345,47239,146,40617,509,00002,281,472
10Jan 21, 2024 12:345,58395,005,11417,864,92602,289,664
11Jan 21, 2024 12:345,61757,444,76417,974,81102,281,472
12Jan 21, 2024 12:345,62688,612,68518,001,89802,289,664