Untitled
unknown
plain_text
4 years ago
391 B
4
Indexable
import time import json def main(): time_stamps = [] for i in range(50_000): time_stamps.append(time.time_ns()) start_time = time_stamps[0] for i in range(50_000): time_stamps[i] -= start_time time_stamps[i] /= 10**9 with open('act2-result.json', 'w') as output: json.dump(time_stamps, output) if __name__ == '__main__': main()
Editor is loading...