Borderou de evaluare (job #1598497)

Utilizator CourageAntal Alexandru Courage Data 12 februarie 2016 23:01:01
Problema Permutari II Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘determinare’: user.c:32:5: warning: pointer targets in passing argument 2 of ‘copiere’ differ in signedness [-Wpointer-sign] copiere(copie, perm, nr_elem); ^ user.c:22:6: note: expected ‘int *’ but argument is of type ‘unsigned int *’ void copiere(int dest[], int sursa[], int nr_elem) ^ user.c:37:9: warning: pointer targets in passing argument 2 of ‘inmultire_permutari’ differ in signedness [-Wpointer-sign] inmultire_permutari(perm, copie, nr_elem); ^ user.c:13:6: note: expected ‘unsigned int *’ but argument is of type ‘int *’ void inmultire_permutari(unsigned int perm_1[], unsigned int perm_2[], size_t nr_elem) ^ user.c: In function ‘main’: user.c:46:11: warning: unused variable ‘fout’ [-Wunused-variable] FILE *fout = fopen("perm2.out", "w"); ^ user.c:50:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &nr_elem); ^ user.c:53:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &permutare[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbKilled by signal 11(SIGSEGV).0
20ms236kbKilled by signal 11(SIGSEGV).0
30ms236kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms240kbKilled by signal 11(SIGSEGV).0
60ms236kbKilled by signal 11(SIGSEGV).0
70ms236kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms236kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
110ms232kbKilled by signal 11(SIGSEGV).0
120ms236kbKilled by signal 11(SIGSEGV).0
130ms236kbKilled by signal 11(SIGSEGV).0
140ms236kbKilled by signal 11(SIGSEGV).0
150ms236kbKilled by signal 11(SIGSEGV).0
160ms236kbKilled by signal 11(SIGSEGV).0
170ms240kbKilled by signal 11(SIGSEGV).0
180ms240kbKilled by signal 11(SIGSEGV).0
190ms236kbKilled by signal 11(SIGSEGV).0
200ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?