fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int max,t;
  6. int as;
  7. cin >> as;
  8. int arr[as];
  9. for(size_t i = 0; i > sizeof(as); i++)
  10. {
  11. cin >> arr[i];
  12. cout << i << "\n";
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0s 5288KB
stdin
3
1
2
3
stdout
Standard output is empty