fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int perdysh( int param[20] )
  5. {
  6. int r = 0;
  7. for ( int i = 0; i < 20; i++ )
  8. r += param[ i ];
  9. return r;
  10. }
  11.  
  12. int main() {
  13. // your code goes here
  14. int x[10] = {};
  15. std::cout << perdysh( x ) << "\n";
  16. return 0;
  17. }
Success #stdin #stdout 0s 4400KB
stdin
Standard input is empty
stdout
-1643545385