Borderou de evaluare (job #1616366)

Utilizator MAlexandruMatei Alexandru MAlexandru Data 27 februarie 2016 11:03:03
Problema Modulo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int pow(int)’: user.cpp:8:9: warning: variable ‘produs’ set but not used [-Wunused-but-set-variable] int produs; ^ user.cpp: In function ‘int main()’: user.cpp:23:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin,"%d",&x); ^ user.cpp:24:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin,"%d",&p); ^ user.cpp:25:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin,"%d",&c); ^ user.cpp:26:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout,"%d",pow(p)%c); ^ user.cpp: In function ‘int pow(int)’: user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:23:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&x); ^ user.cpp:24:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&p); ^ user.cpp:25:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms192kbKilled by signal 11(SIGSEGV).0
20ms188kbKilled by signal 11(SIGSEGV).0
30ms188kbKilled by signal 11(SIGSEGV).0
40ms188kbKilled by signal 11(SIGSEGV).0
50ms188kbKilled by signal 11(SIGSEGV).0
60ms196kbKilled by signal 11(SIGSEGV).0
70ms188kbKilled by signal 11(SIGSEGV).0
80ms192kbKilled by signal 11(SIGSEGV).0
90ms188kbKilled by signal 11(SIGSEGV).0
100ms188kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?