Pagini recente » Borderou de evaluare (job #1790139) | Borderou de evaluare (job #713390) | Borderou de evaluare (job #2922976) | Borderou de evaluare (job #2138678) | Borderou de evaluare (job #1694242)
Borderou de evaluare (job #1694242)
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 |
1 | 180ms | 736kb | Wall time limit exceeded. | 0 |
Punctaj total | 0 |