fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. // zdefiniuj funkcję
  5. bool czy_pierwsza(int n) {
  6. }
  7.  
  8. int main() {
  9. // sprawdź działanie funkcji
  10. cout << czy_pierwsza(11) << " " << czy_pierwsza(99) << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
Standard output is empty