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 listApr 26, 2025 20:30lukostlukostScore: 4,963Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 20:274,95340,123,74414,859,000990,0002,445,312
2Apr 26, 2025 20:304,95332,963,79914,860,000990,0002,539,520
3Apr 26, 2025 20:304,95840,949,30413,881,0001,983,0002,445,312
4Apr 26, 2025 20:274,95931,521,07913,886,0001,983,0002,453,504
5Apr 26, 2025 20:304,95931,279,91313,886,0001,983,0002,539,520
6Apr 26, 2025 20:274,96034,563,90014,881,000992,0002,449,408
7Apr 26, 2025 20:304,96132,145,50314,883,000992,0002,449,408
8Apr 26, 2025 20:274,96242,098,70513,894,0001,984,0002,539,520
9Apr 26, 2025 20:274,96232,879,46913,893,0001,984,0002,449,408
10Apr 26, 2025 20:274,96345,098,74713,897,0001,985,0002,449,408
11Apr 26, 2025 20:304,96346,157,14613,895,0001,985,0002,445,312
12Apr 26, 2025 20:304,96342,320,62013,897,0001,985,0002,539,520
13Apr 26, 2025 20:274,96531,979,35613,903,0001,986,0002,539,520
14Apr 26, 2025 20:304,96540,148,15814,895,000993,0002,539,520
15Apr 26, 2025 20:304,96834,233,83213,909,0001,987,0002,449,408
16Apr 26, 2025 20:274,97337,668,40413,926,0001,989,0002,539,520
17Apr 26, 2025 20:304,98137,048,95813,946,0001,992,0002,453,504
18Apr 26, 2025 20:274,98230,295,21213,950,0001,992,0002,539,520