Write a program in C++ to calculate the n-th prime
- User
Write a program in C++ to calculate the n-th prime
Assistant
Here's a C++ program that calculates the n-th prime number:
cpp
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.