Pagini recente » Borderou de evaluare (job #640303) | Borderou de evaluare (job #610530) | Borderou de evaluare (job #2568979) | Borderou de evaluare (job #1815833) | Borderou de evaluare (job #2348360)
Borderou de evaluare (job #2348360)
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 | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 6ms | 262kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 178ms | 6422kb | OK | 10 |
6 | 164ms | 6291kb | OK | 10 |
7 | 303ms | 12845kb | Time limit exceeded | 0 |
8 | 303ms | 12713kb | Time limit exceeded | 0 |
9 | 295ms | 12976kb | OK | 10 |
10 | 303ms | 12845kb | Time limit exceeded | 0 |
Punctaj total | 70 |