Borderou de evaluare (job #1533787)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 22 noiembrie 2015 22:34:50
Problema TwoSets Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In member function ‘void Huge::operator+=(int)’: user.cpp:24:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0, t = k; i < X.size(); i++) { ^ user.cpp: In member function ‘void Huge::operator*=(int)’: user.cpp:36:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0, t = 0; i < X.size(); i++) { ^ user.cpp: In member function ‘bool Huge::operator==(const Huge&)’: user.cpp:64:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(register int i = 0; i < X.size(); i++) { ^ user.cpp: In function ‘bool hFind(Huge)’: user.cpp:88:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(register int i = 0; i < H[key].size(); i++) { ^ user.cpp: In function ‘int main()’: user.cpp:108:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("twosets.in", "r", stdin); ^ user.cpp:109:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("twosets.out", "w", stdout); ^ user.cpp:115:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &testCase); ^ user.cpp:120:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(BUFF); ^ user.cpp:136:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(BUFF); ^ /tmp/cc7tE0QU.o: In function `main': user.cpp:(.text.startup+0xbb): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms340kbOK1010
28ms376kbOK1010
3120ms476kbOK1010
4120ms484kbOK1010
5372ms864kbOK1020
6432ms4444kbOK10
7700ms9792kbOK1020
8500ms2644kbOK10
9420ms2372kbOK1020
10608ms9056kbOK10
Punctaj total100

Ceva nu functioneaza?