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 2, 2023 22:01Jack FrigaardJack FrigaardScore: 5,354Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 22:015,33041,196,56315,051,0002,006,0002,285,568
2Jan 2, 2023 22:015,33534,913,69315,063,0002,008,0002,285,568
3Jan 2, 2023 22:015,33637,323,01515,066,0002,008,0002,269,184
4Jan 2, 2023 22:015,34143,367,63115,082,0002,010,0002,285,568
5Jan 2, 2023 22:015,34333,743,81316,094,0001,005,0002,273,280
6Jan 2, 2023 22:015,35339,786,87815,113,0002,015,0002,527,232
7Jan 2, 2023 22:015,35436,428,55815,118,0002,015,0002,379,776
8Jan 2, 2023 22:015,36441,149,51916,157,0001,009,0002,535,424
9Jan 2, 2023 22:015,38040,700,88015,192,0002,025,0002,527,232
10Jan 2, 2023 22:015,54383,920,10317,737,23902,297,856
11Jan 2, 2023 22:015,56399,658,00817,800,19202,301,952
12Jan 2, 2023 22:015,64684,480,12918,068,79502,301,952