fork download
  1. #include <iostream>
  2. #define MAX 1500
  3. using namespace std;
  4. int main()
  5. {
  6. int i, j, plano[MAX][MAX]={}, area=0;
  7. for(i=0; i<MAX; i++){
  8. for(j=0; j<MAX; j++){
  9. if(plano[i][j]==1) area+=1;
  10. }
  11. }
  12. cout<<area;
  13. return 0;
  14. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
Standard output is empty