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 8, 2024 21:05AndreyTSAndreyTSScore: 5,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:055,43838,431,38216,380,0001,023,0002,289,664
2Jun 8, 2024 21:055,43933,568,36316,383,0001,023,0002,289,664
3Jun 8, 2024 21:055,44244,006,55016,390,0001,024,0002,289,664
4Jun 8, 2024 21:055,46849,411,12017,496,00002,289,664
5Jun 8, 2024 21:055,47143,938,51916,479,0001,029,0002,269,184
6Jun 8, 2024 21:055,48938,765,84216,532,0001,033,0002,289,664
7Jun 8, 2024 21:055,49036,431,50516,535,0001,033,0002,265,088
8Jun 8, 2024 21:055,49543,073,46516,549,0001,034,0002,289,664
9Jun 8, 2024 21:055,50638,610,47416,582,0001,036,0002,531,328
10Jun 8, 2024 21:055,66857,864,37218,138,59902,301,952
11Jun 8, 2024 21:055,673107,643,90918,154,67402,301,952
12Jun 8, 2024 21:055,69257,631,48018,214,50502,301,952