| Problem | nprime2 |
|---|---|
| User | yuzu |
| Submission Time | 2026-08-03 15:26:49 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
nprime2.cpp: In function ‘int main()’:
nprime2.cpp:3:42: error: cannot convert ‘std::basic_ostream<char>’ to ‘int’ in return
3 | int main(){long long n;cin>>n;return cout<<(n==1?2:n==2?3:5);}
| ~~~~^~~~~~~~~~~~~~~~~~~
| |
| std::basic_ostream<char>