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 6, 2025 14:04Arnav AggarwalArnav AggarwalScore: 2,770,945Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 14:042,762,6088,868,307,0718,811,359,00028,988,0002,289,664
2Apr 6, 2025 14:042,762,8438,868,579,6678,803,116,00037,983,0002,277,376
3Apr 6, 2025 14:042,764,3678,872,725,9728,809,992,00035,983,0002,269,184
4Apr 6, 2025 14:042,770,4978,897,244,6948,831,605,00033,986,0002,289,664
5Apr 6, 2025 14:042,770,9458,893,937,9968,839,037,00027,987,0002,277,376
6Apr 6, 2025 14:042,775,2568,911,258,4328,846,833,00033,987,0002,277,376
7Apr 6, 2025 14:042,785,8468,943,838,4128,871,727,00042,979,0002,277,376
8Apr 6, 2025 14:042,948,1379,473,634,6859,400,054,00033,985,0002,277,376
9Apr 6, 2025 14:043,037,4589,751,373,7899,679,882,00039,982,0002,277,376