Borderou de evaluare (job #2044902)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 21 octombrie 2017 16:15:18
Problema Calcul Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:37: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%lld\n%x\n%lld", &a,&b,&c); ^ user.cpp:54:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%02d", r); ^ user.cpp:56:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%03d", r); ^ user.cpp:58:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%04d", r); ^ user.cpp:60:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%05d", r); ^ user.cpp:62:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%06d", r); ^ user.cpp:64:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%07d", r); ^ user.cpp:66:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%08d", r); ^ user.cpp:68:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%09d", r); ^ user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("calcul.in","r",stdin); ^ user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("calcul.out","w",stdout); ^ user.cpp:32:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld\n%x\n%lld", &a,&b,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK5
20ms440kbIncorect0
30ms440kbIncorect0
40ms440kbIncorect0
5Depăşit420kbTime limit exceeded.0
6Depăşit420kbTime limit exceeded.0
7Depăşit444kbTime limit exceeded.0
8Depăşit424kbTime limit exceeded.0
9Depăşit644kbTime limit exceeded.0
10Depăşit612kbTime limit exceeded.0
11Depăşit448kbTime limit exceeded.0
12Depăşit416kbTime limit exceeded.0
13Depăşit644kbTime limit exceeded.0
14Depăşit628kbTime limit exceeded.0
15Depăşit444kbTime limit exceeded.0
16Depăşit476kbTime limit exceeded.0
17Depăşit528kbTime limit exceeded.0
18Depăşit612kbTime limit exceeded.0
19Depăşit644kbTime limit exceeded.0
20Depăşit640kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?