Borderou de evaluare (job #1755857)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 11 septembrie 2016 11:54:52
Problema Colectie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In member function ‘void DG::operator+=(DG&)’: user.cpp:37:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k=0; k<other.ind.size(); k++) ^ user.cpp: In member function ‘bool DG::operator<(const DG&)’: user.cpp:52:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(pos < v.size() && v[pos] == other.v[pos])pos++; ^ user.cpp: In function ‘bool cmp(DG, DG)’: user.cpp:76:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(pos < a.v.size() && a.v[pos] == b.v[pos])pos++; ^ user.cpp: In function ‘int main()’: user.cpp:209:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(tmp.size() + tmp2.size() < Min) ^ user.cpp:213:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<tmp2.size(); i++) ^ user.cpp:90:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colectie.in", "r", stdin); ^ user.cpp:91:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colectie.out", "w", stdout); ^ user.cpp:93:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:158:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms404kbOK!10
212ms412kbOK!10
312ms412kbOK!10
412ms408kbOK!10
5Depăşit1908kbTime limit exceeded.0
6Depăşit3772kbTime limit exceeded.0
7Depăşit3772kbTime limit exceeded.0
8Depăşit7392kbTime limit exceeded.0
9Depăşit7388kbTime limit exceeded.0
10Depăşit7388kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?