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 16:30matsuoka-601matsuoka-601Score: 4,991Success
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 16:304,95841,791,07314,876,000991,0002,285,568
2Jan 21, 2024 16:304,96637,590,43414,832,0001,059,0002,523,136
3Jan 21, 2024 16:304,96940,325,71613,914,0001,987,0002,527,232
4Jan 21, 2024 16:304,97045,754,23813,916,0001,988,0002,285,568
5Jan 21, 2024 16:304,97737,449,33914,932,000995,0002,269,184
6Jan 21, 2024 16:304,99132,225,64313,974,0001,996,0002,277,376
7Jan 21, 2024 16:304,99132,113,03613,974,0001,996,0002,285,568
8Jan 21, 2024 16:304,99634,757,64413,990,0001,998,0002,285,568
9Jan 21, 2024 16:305,01031,281,11314,028,0002,004,0002,285,568
10Jan 21, 2024 16:305,12793,007,52716,407,05202,293,760
11Jan 21, 2024 16:305,14997,353,85316,477,70702,293,760
12Jan 21, 2024 16:305,15279,223,72516,486,73002,306,048