Borderou de evaluare (job #1846083)

Utilizator matei8787Matei Dobrea matei8787 Data 12 ianuarie 2017 09:43:38
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d",&v[i]); ^ user.cpp:14:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ( max < v[i] ) ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algsort.in","r",stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algsort.out","w",stdout); ^ user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbOK520
20ms276kbOK5
30ms276kbOK5
40ms272kbOK5
50ms268kbKilled by signal 11(SIGSEGV).00
60ms256kbKilled by signal 11(SIGSEGV).0
70ms256kbKilled by signal 11(SIGSEGV).0
80ms256kbKilled by signal 11(SIGSEGV).0
90ms256kbKilled by signal 11(SIGSEGV).00
100ms268kbKilled by signal 11(SIGSEGV).0
110ms252kbKilled by signal 11(SIGSEGV).0
120ms248kbKilled by signal 11(SIGSEGV).0
130ms260kbKilled by signal 11(SIGSEGV).00
140ms260kbKilled by signal 11(SIGSEGV).0
150ms252kbKilled by signal 11(SIGSEGV).0
160ms256kbKilled by signal 11(SIGSEGV).0
170ms248kbKilled by signal 11(SIGSEGV).00
180ms276kbKilled by signal 11(SIGSEGV).0
190ms248kbKilled by signal 11(SIGSEGV).0
200ms252kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?