Borderou de evaluare (job #2215694)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 23 iunie 2018 11:27:55
Problema Bacterii2 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘std::vector<int> multiply(const std::vector<int>&, const std::vector<int>&)’: user.cpp:77:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < va.size(); ++i) nc.push_back(va[i] * vb[i]); ~~^~~~~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:119:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < c.size(); ++i) ~~^~~~~~~~~~ user.cpp:91:40: 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:92:42: 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:105:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &t); t; --t) { ^ user.cpp:111:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:112:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 1; i <= n; ++i) scanf("%d", &x), a[x]++; ^ user.cpp:114:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:115:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 1; i <= m; ++i) scanf("%d", &x), b[x]++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit8724kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?