Pagini recente » Borderou de evaluare (job #2174902) | Borderou de evaluare (job #3207706) | Borderou de evaluare (job #2128148) | Borderou de evaluare (job #2956396) | Borderou de evaluare (job #2348383)
Borderou de evaluare (job #2348383)
Raport evaluator
Compilare:
main.cpp: In member function 'bool Diapazon::operator<(const Diapazon&) const':
main.cpp:36:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return right < aux.right || right == aux.right && left > aux.left;
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:51:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &n, &l);
^
main.cpp:52:54: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= l; i++)fscanf(fi,"%d", &c[i]);
^
main.cpp:54:75: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) fscanf(fi,"%d%d", &v[i].left, &v[i].right);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 7ms | 393kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 183ms | 6553kb | OK | 10 |
| 6 | 160ms | 6291kb | OK | 10 |
| 7 | 300ms | 12976kb | Time limit exceeded | 0 |
| 8 | 303ms | 12713kb | Time limit exceeded | 0 |
| 9 | 300ms | 10616kb | Time limit exceeded | 0 |
| 10 | 303ms | 10354kb | Time limit exceeded | 0 |
| Punctaj total | 60 |