Skip to content

Instantly share code, notes, and snippets.

@cirocosta
Last active December 25, 2015 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cirocosta/6921537 to your computer and use it in GitHub Desktop.
Save cirocosta/6921537 to your computer and use it in GitHub Desktop.
Dioniso
int main(){
freopen("nome_arquivo.txt","r",stdin);
int matrizes[max_i][max_j];
int T_s[numero_ts], matriz;
for(int i=0; i<numero_elementos; i++){
if(i%10 == 0){
scanf("%d",T_s[i/10]);
} else {
scanf("%f",&matrizes[i/10][i%10]);
}
}
fclose(stdin);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment