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 listJun 12, 2024 02:46Yuriy LyfenkoYuriy LyfenkoScore: 4,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 02:464,403540,467,67412,078,0002,013,0002,392,064
2Jun 12, 2024 02:464,426540,184,71813,152,0001,011,0002,527,232
3Jun 12, 2024 02:464,428543,534,50813,158,0001,012,0002,260,992
4Jun 12, 2024 02:464,439540,345,68513,191,0001,014,0002,400,256
5Jun 12, 2024 02:464,442536,706,43012,185,0002,030,0002,523,136
6Jun 12, 2024 02:464,447541,747,59513,213,0001,016,0002,523,136
7Jun 12, 2024 02:464,450539,468,51712,206,0002,034,0002,265,088
8Jun 12, 2024 02:464,465541,501,68212,247,0002,041,0002,260,992
9Jun 12, 2024 02:464,483541,438,96013,320,0001,024,0002,523,136
10Jun 12, 2024 02:464,619585,451,65714,779,49902,240,512
11Jun 12, 2024 02:464,645573,065,14314,863,76602,277,376
12Jun 12, 2024 02:464,660571,943,01914,911,97902,281,472