Borderou de evaluare (job #2044904)

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

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
10ms436kbOK5
20ms444kbOK5
30ms436kbOK5
40ms440kbOK5
5Depăşit420kbTime limit exceeded.0
6Depăşit424kbTime limit exceeded.0
7Depăşit448kbTime limit exceeded.0
8Depăşit428kbTime limit exceeded.0
9Depăşit644kbTime limit exceeded.0
10Depăşit612kbTime limit exceeded.0
11Depăşit444kbTime limit exceeded.0
12Depăşit420kbTime limit exceeded.0
13Depăşit644kbTime limit exceeded.0
14Depăşit620kbTime limit exceeded.0
15Depăşit452kbTime limit exceeded.0
16Depăşit476kbTime limit exceeded.0
17Depăşit532kbTime limit exceeded.0
18Depăşit616kbTime limit exceeded.0
19Depăşit640kbTime limit exceeded.0
20Depăşit640kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?