Borderou de evaluare (job #1824497)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 7 decembrie 2016 21:55:22
Problema Numere 6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve(short int*, short int)’: user.cpp:61:13: warning: unused variable ‘sum’ [-Wunused-variable] short i,sum=0; ^ user.cpp: In function ‘void back()’: user.cpp:103:10: warning: unused variable ‘as’ [-Wunused-variable] bool as; ^ user.cpp: In function ‘int main()’: user.cpp:129:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d%d",&a,&b); ^ user.cpp:129:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:156:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(f2,"%ld",rez%mod); ^ user.cpp:129:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms192kbKilled by signal 11(SIGSEGV).0
20ms196kbKilled by signal 11(SIGSEGV).0
30ms196kbKilled by signal 11(SIGSEGV).0
40ms192kbKilled by signal 11(SIGSEGV).0
50ms196kbKilled by signal 11(SIGSEGV).0
60ms196kbKilled by signal 11(SIGSEGV).0
70ms192kbKilled by signal 11(SIGSEGV).0
80ms192kbKilled by signal 11(SIGSEGV).0
90ms196kbKilled by signal 11(SIGSEGV).0
100ms192kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?