fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3. bool prime (int n){
  4. if(n==1) return false;
  5. for(int i=2; i*i<=n; i++)
  6. if( n%i==0) return false;
  7. return true;
  8. }
  9. int main() {
  10. }
  11.  
  12.  
Success #stdin #stdout 0.01s 5320KB
stdin
7
stdout
Standard output is empty