#include #include using namespace std; void pierwszy() { int t[9]={0,0,0,0,0,0,0,0,0}; string line; ifstream file("dane6.txt"); int m; while (getline (file, line)) { m=0; for(int j=0;j<100;j++) if((int(line[j])-48)>m) m=(int(line[j])-48); t[m-1]++; } for(int i=0;i<9;i++) cout<m) m=(int(line[j])-48); } if(t[m-1]