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:43Yuriy LyfenkoYuriy LyfenkoScore: 4,482Success
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:434,44325,906,91512,186,0002,031,0002,265,088
2Jul 25, 2024 15:434,46332,877,88813,262,0001,020,0002,400,256
3Jul 25, 2024 15:434,46738,464,76712,253,0002,042,0002,265,088
4Jul 25, 2024 15:434,46937,986,52913,280,0001,021,0002,265,088
5Jul 25, 2024 15:434,47032,258,67513,283,0001,021,0002,400,256
6Jul 25, 2024 15:434,47731,824,42512,280,0002,046,0002,392,064
7Jul 25, 2024 15:434,48234,815,56613,318,0001,024,0002,383,872
8Jul 25, 2024 15:434,49235,755,08413,347,0001,026,0002,265,088
9Jul 25, 2024 15:434,53134,791,21413,463,0001,035,0002,392,064
10Jul 25, 2024 15:434,69693,117,59515,028,71102,281,472
11Jul 25, 2024 15:434,72490,396,24415,116,24502,281,472
12Jul 25, 2024 15:434,73193,810,46515,139,41002,289,664