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 8, 2023 12:44Hal FHal FScore: 4,756Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 8, 2023 12:444,72931,924,41813,115,0002,017,0002,289,664
2Jan 8, 2023 12:444,73841,300,41113,142,0002,021,0002,273,280
3Jan 8, 2023 12:444,74837,264,46913,167,0002,025,0002,285,568
4Jan 8, 2023 12:444,74841,804,78613,168,0002,025,0002,379,776
5Jan 8, 2023 12:444,75131,257,08213,176,0002,027,0002,289,664
6Jan 8, 2023 12:444,75431,971,96413,186,0002,028,0002,273,280
7Jan 8, 2023 12:444,75632,379,24613,191,0002,029,0002,289,664
8Jan 8, 2023 12:444,75834,200,15114,212,0001,015,0002,289,664
9Jan 8, 2023 12:444,76442,095,68013,214,0002,032,0002,289,664
10Jan 8, 2023 12:445,01059,695,92716,032,77102,256,896
11Jan 8, 2023 12:445,03086,244,30816,097,13502,293,760
12Jan 8, 2023 12:445,03195,611,36616,099,21402,252,800