Borderou de evaluare (job #1511899)

Utilizator atatomirTatomir Alex atatomir Data 27 octombrie 2015 12:13:56
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: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:74: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:80: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:81: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:83: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:85:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp:95: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:96: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:97: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:98: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
10ms448kbOK10
28ms464kbOK10
312ms516kbOK10
416ms540kbOK10
5116ms636kbOK10
6Depăşit684kbTime limit exceeded.0
7Depăşit744kbTime limit exceeded.0
8Depăşit776kbTime limit exceeded.0
9Depăşit812kbTime limit exceeded.0
10Depăşit816kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?