fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int nCount;
  5.  
  6. int main()
  7. {
  8. cin >> nCount;
  9.  
  10. char uWay;
  11.  
  12. for (int nRow = 0; nRow < nCount; nRow++)
  13. {
  14. for (int nCol = 0; nCol < nCount; nCol++)
  15. {
  16. cin >> uWay;
  17. }
  18. }
  19.  
  20. cout << "NIE";
  21. return 0;
  22. }
  23.  
Success #stdin #stdout 0s 15232KB
stdin
5
0 0 0 1 0 
1 0 1 0 0 
1 0 0 1 0
0 1 0 0 0 
0 0 0 0 0
stdout
NIE