Borderou de evaluare (job #1635362)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 6 martie 2016 17:05:16
Problema 2sah Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f1,"%d%ld%ld",&c,&n,&k); ^ user.cpp:26:34: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(f2,"%ld",pow(k-1)); ^ user.cpp:24:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d%ld%ld",&c,&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbCorect!2
20ms272kbCorect!2
30ms272kbCorect!2
40ms272kbCorect!2
50ms272kbCorect!2
60ms268kbCorect!2
70ms276kbCorect!2
80ms276kbCorect!2
90ms276kbCorect!2
100ms312kbKilled by signal 11(SIGSEGV).0
110ms316kbKilled by signal 11(SIGSEGV).0
120ms316kbKilled by signal 11(SIGSEGV).0
130ms236kbKilled by signal 11(SIGSEGV).0
140ms232kbKilled by signal 11(SIGSEGV).0
150ms232kbKilled by signal 11(SIGSEGV).0
160ms232kbKilled by signal 11(SIGSEGV).0
170ms232kbKilled by signal 11(SIGSEGV).0
180ms232kbKilled by signal 11(SIGSEGV).0
190ms232kbKilled by signal 11(SIGSEGV).0
200ms272kbCorect!2
Punctaj total20

Ceva nu functioneaza?