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 21:38Alexander KimAlexander KimScore: 5,675Success
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 21:385,62848,572,51517,009,0001,000,0002,334,720
2Jan 2, 2023 21:385,64434,771,66417,059,0001,003,0002,334,720
3Jan 2, 2023 21:385,64848,353,26616,065,0002,008,0002,334,720
4Jan 2, 2023 21:385,65935,778,06617,103,0001,006,0002,531,328
5Jan 2, 2023 21:385,66549,558,53416,114,0002,014,0002,334,720
6Jan 2, 2023 21:385,66844,966,65516,121,0002,015,0002,334,720
7Jan 2, 2023 21:385,67540,470,16917,152,0001,008,0002,334,720
8Jan 2, 2023 21:385,67737,280,76717,158,0001,009,0002,531,328
9Jan 2, 2023 21:385,69792,428,75318,230,84002,240,512
10Jan 2, 2023 21:385,71454,696,53016,255,0002,031,0002,334,720
11Jan 2, 2023 21:385,71884,946,23218,298,27902,248,704
12Jan 2, 2023 21:385,73862,728,12918,362,79702,224,128