Advertisement
cupsamada

elicop >_<

Feb 27th, 2020
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include<iostream>
  2. #include<fstream>
  3. using namespace std;
  4. ifstream fin("elicop.in");
  5. ofstream fout("elicop.out");
  6. int a[105][105];
  7. int main()
  8. {
  9. int n, m, i, j, k, x1, y1, x2, y2, p;
  10. fin>>m>>n;
  11. for(i=1; i<=m; i++)
  12. {
  13. for(j=1; j<=n; j++)
  14. {
  15. fin>>a[i][j];
  16. }
  17. }
  18. fin>>k;
  19. for(int l=1; l<=k; l++)
  20. {
  21. fin>>x1>>y1>>x2>>y2>>p;
  22.  
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement