Pagini recente » Cod sursa (job #596805) | Borderou de evaluare (job #2645850) | Borderou de evaluare (job #1790271) | Cod sursa (job #1469002) | Borderou de evaluare (job #1755850)
Borderou de evaluare (job #1755850)
Raport evaluator
Compilare:
user.cpp: In member function ‘void DG::operator+=(DG&)’:
user.cpp:36: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:51: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:75: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:198:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(tmp.size() + tmp2.size() < Min)
^
user.cpp:202:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<tmp2.size(); i++)
^
user.cpp:89: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:90: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:92: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:147: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 |
| 1 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |