Borderou de evaluare (job #1694242)

Utilizator atatomirTatomir Alex atatomir Data 24 aprilie 2016 23:06:16
Problema Bacterii2 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In member function ‘void state::operator+=(state&)’: user.cpp:25:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < who.data.size(); i++) ^ user.cpp: In member function ‘void state::operator-=(state&)’: user.cpp:32:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < who.data.size(); i++) ^ user.cpp: In member function ‘void state::operator>>=(int)’: user.cpp:37:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = how; i < data.size(); i++) ^ user.cpp: In member function ‘state state::operator*(state)’: user.cpp:61:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < a.data.size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:119:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ans.data.size(); i++) ^ user.cpp:98:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bacterii2.in","r",stdin); ^ user.cpp:99:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bacterii2.out","w",stdout); ^ user.cpp:101:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:105:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:107:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:111:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:113:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp: In member function ‘state state::operator*(state)’: user.cpp:16:8: warning: ‘aux.state::i’ may be used uninitialized in this function [-Wmaybe-uninitialized] struct state { ^ user.cpp:51:19: note: ‘aux.state::i’ was declared here state aux; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1180ms736kbWall time limit exceeded.0
Punctaj total0

Ceva nu functioneaza?