Borderou de evaluare (job #1670173)

Utilizator CrystyAngelDinu Cristian CrystyAngel Data 31 martie 2016 15:18:08
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:41: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:44:9: note: in expansion of macro ‘fs’ fs(x); ^ user.cpp:61:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( j=0; j<v.size(); ++j) ^ user.cpp:67: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:67:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:41:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(n); ^ user.cpp:44: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
14ms680kbIncorect00
24ms684kbIncorect00
34ms680kbIncorect00
44ms676kbIncorect00
512ms680kbIncorect00
68ms684kbIncorect00
716ms680kbIncorect00
8Depăşit680kbTime limit exceeded.00
9Depăşit680kbTime limit exceeded.0
10Depăşit676kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?