Pagini recente » Borderou de evaluare (job #898157) | Borderou de evaluare (job #2603400) | Borderou de evaluare (job #2580105) | Borderou de evaluare (job #753140) | Borderou de evaluare (job #2348385)
Borderou de evaluare (job #2348385)
Raport evaluator
Compilare:
main.cpp: In member function 'bool Diapazon::operator<(const Diapazon&) const':
main.cpp:11: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:24: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:25: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:26: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 | 6ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 159ms | 2228kb | OK | 10 |
6 | 128ms | 2097kb | OK | 10 |
7 | 300ms | 4456kb | Time limit exceeded | 0 |
8 | 301ms | 4587kb | Time limit exceeded | 0 |
9 | 300ms | 4194kb | Time limit exceeded | 0 |
10 | 300ms | 4063kb | Time limit exceeded | 0 |
Punctaj total | 60 |