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 22, 2024 12:05matsuoka-601matsuoka-601Score: 5,631Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 12:055,58949,671,73215,898,0001,987,0002,293,760
2Jan 22, 2024 12:055,59539,710,52415,915,0001,989,0002,293,760
3Jan 22, 2024 12:055,61039,829,54615,957,0001,994,0002,293,760
4Jan 22, 2024 12:055,61139,883,60316,959,000997,0002,379,776
5Jan 22, 2024 12:055,62038,500,17015,985,0001,998,0002,277,376
6Jan 22, 2024 12:055,62734,868,73516,006,0002,000,0002,392,064
7Jan 22, 2024 12:055,63140,658,00117,018,0001,001,0002,265,088
8Jan 22, 2024 12:055,64946,830,08116,069,0002,008,0002,293,760
9Jan 22, 2024 12:055,66138,688,77717,109,0001,006,0002,265,088
10Jan 22, 2024 12:055,76582,402,47818,449,02802,301,952
11Jan 22, 2024 12:055,77971,602,15518,493,53202,301,952
12Jan 22, 2024 12:055,80986,405,65218,588,79702,183,168