Borderou de evaluare (job #1511888)

Utilizator atatomirTatomir Alex atatomir Data 27 octombrie 2015 11:46:38
Problema Complet Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void solve(std::pair<long long int, long long int>)’: user.cpp:52:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", abs_sum); ^ user.cpp:63:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", abs_sum); ^ user.cpp: In function ‘int main()’: user.cpp:69:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("complet.in", "r", stdin); ^ user.cpp:70:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("complet.out", "w", stdout); ^ user.cpp:72:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp:81:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld", &x, &y, &z); ^ user.cpp:82:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &q1.first, &q2.first); ^ user.cpp:83:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &q3.first, &q1.second); ^ user.cpp:84:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &q2.second, &q3.second); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms448kbOK10
224ms472kbOK10
332ms532kbOK10
444ms548kbOK10
5380ms644kbOK10
6Depăşit684kbTime limit exceeded.0
7Depăşit740kbTime limit exceeded.0
8Depăşit776kbTime limit exceeded.0
9Depăşit816kbTime limit exceeded.0
10Depăşit816kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?