Borderou de evaluare (job #1670149)

Utilizator CrystyAngelDinu Cristian CrystyAngel Data 31 martie 2016 14:51:26
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 unsigned int*’ [-Wformat=] #define fs(n) fscanf(f,"%I64d",&n) ^ user.cpp:40: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 unsigned int*’ [-Wformat=] #define fs(n) fscanf(f,"%I64d",&n) ^ user.cpp:43:9: note: in expansion of macro ‘fs’ fs(x); ^ user.cpp:66:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fp(g,"%I64d %I64d\n",nr,s); ^ user.cpp:66:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long unsigned int’ [-Wformat=] user.cpp:40:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(n); ^ user.cpp:43: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
112ms836kbIncorect00
220ms836kbIncorect00
316ms832kbIncorect00
416ms832kbIncorect00
540ms832kbIncorect00
632ms832kbIncorect00
740ms832kbIncorect00
8Depăşit832kbTime limit exceeded.00
9Depăşit832kbTime limit exceeded.0
10Depăşit828kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?