Borderou de evaluare (job #1670133)

Utilizator CrystyAngelDinu Cristian CrystyAngel Data 31 martie 2016 14:41:17
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] #define fs(n) fscanf(f,"%I64d",&n) ^ user.cpp:39:5: note: in expansion of macro ‘fs’ fs(n); ^ user.cpp:15:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] #define fs(n) fscanf(f,"%I64d",&n) ^ user.cpp:42:9: note: in expansion of macro ‘fs’ fs(x); ^ user.cpp:59:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( j=0; j<v.size(); ++i) ^ user.cpp:65:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fp(g,"%I64d %I64d\n",nr,s); ^ user.cpp:65:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:39:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(n); ^ user.cpp:42:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbKilled by signal 11(SIGSEGV).00
20ms268kbKilled by signal 11(SIGSEGV).00
30ms276kbKilled by signal 11(SIGSEGV).00
40ms268kbKilled by signal 11(SIGSEGV).00
50ms268kbKilled by signal 11(SIGSEGV).00
60ms272kbKilled by signal 11(SIGSEGV).00
70ms268kbKilled by signal 11(SIGSEGV).00
80ms272kbKilled by signal 11(SIGSEGV).00
90ms272kbKilled by signal 11(SIGSEGV).0
100ms268kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?