#include #include #include #define SIZE 100 int compare(const void* arg1, const void* arg2); int main(a){ char* pole_smernikov[SIZE]; memset(pole_smernikov,0,SIZE*sizeof(char*)); int pocet_mien_v_poli=0; int p = 0; scanf("%d",&p); getchar(); if(p<1){ printf("Nespravny vstup\n"); return 0; } while(1){ char line[SIZE]; memset(line,0,SIZE); char* r = fgets(line,SIZE,stdin); int pocet_znakov=0; if(!r||r[0]=='\n')break; else pocet_znakov=strlen(line); int skip=0; for (int i=0;skip==0&&i='0'&&pole_smernikov[j][i]<='9'){ printf("Nespravny vstup\n"); skip=1; } } } if (!skip){ printf("Prijati studenti:\n"); for(int i = 0; i