Borderou de evaluare (job #2039138)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 14 octombrie 2017 11:47:13
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:93:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &x); ^ user.cpp:96:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("\n%d", &n); ^ user.cpp:91:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ssnd.in","r",stdin); ^ user.cpp:92:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ssnd.out","w",stdout); ^ user.cpp:93:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:96:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbOK1010
20ms424kbOK1010
30ms428kbOK1010
40ms428kbOK1010
5Depăşit420kbTime limit exceeded.00
6Depăşit392kbTime limit exceeded.00
7Depăşit412kbTime limit exceeded.00
8Depăşit400kbTime limit exceeded.00
9Depăşit396kbTime limit exceeded.0
10Depăşit400kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?