Pagini recente » Borderou de evaluare (job #2622026) | Borderou de evaluare (job #2737806) | Cod sursa (job #2255751) | Borderou de evaluare (job #151084) | Borderou de evaluare (job #2348350)
Borderou de evaluare (job #2348350)
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:50: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:51: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:53: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 | Incorect | 0 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 6ms | 262kb | Incorect | 0 |
| 4 | 3ms | 131kb | Incorect | 0 |
| 5 | 168ms | 6553kb | Incorect | 0 |
| 6 | 155ms | 6291kb | Incorect | 0 |
| 7 | 303ms | 12976kb | Time limit exceeded | 0 |
| 8 | 302ms | 12582kb | Time limit exceeded | 0 |
| 9 | 301ms | 12582kb | Time limit exceeded | 0 |
| 10 | 300ms | 12845kb | Time limit exceeded | 0 |
| Punctaj total | 10 |