Pagini recente » Cod sursa (job #2317393) | Cod sursa (job #2978173) | Cod sursa (job #2434273) | Cod sursa (job #432500) | Borderou de evaluare (job #1755864)
Borderou de evaluare (job #1755864)
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: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 |
| 1 | 0ms | 388kb | Chiar exista solutie | 0 |
| 2 | 0ms | 384kb | Chiar exista solutie | 0 |
| 3 | 0ms | 388kb | Chiar exista solutie | 0 |
| 4 | 0ms | 388kb | Chiar exista solutie | 0 |
| 5 | 24ms | 1904kb | Chiar exista solutie | 0 |
| 6 | 52ms | 3564kb | Chiar exista solutie | 0 |
| 7 | 52ms | 3568kb | Chiar exista solutie | 0 |
| 8 | 108ms | 7184kb | Chiar exista solutie | 0 |
| 9 | 116ms | 7188kb | Chiar exista solutie | 0 |
| 10 | 112ms | 7180kb | Chiar exista solutie | 0 |
| Punctaj total | 0 |