Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2433237)
| Utilizator | Data | 26 iunie 2019 14:28:38 | |
|---|---|---|---|
| Problema | Cover | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 60 | ||
Raport evaluator
Compilare:
main.cpp: In member function 'bool interval::operator<(const interval&) const':
main.cpp:22:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (y < other.y || y == other.y && x > other.x)
~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp: In function 'void solve()':
main.cpp:76:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (j < w.size() && w[j].y <= i) {
~~^~~~~~~~~~
main.cpp: In function 'void read()':
main.cpp:39:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &L);
^
main.cpp:41:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", & Cost[i]);
^
main.cpp:44:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
main.cpp: In function 'int main()':
main.cpp:88:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cover.in", "r", stdin);
^
main.cpp:89:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cover.out", "w", stdout);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 7ms | 262kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 170ms | 4186kb | OK | 10 |
| 6 | 160ms | 3792kb | OK | 10 |
| 7 | 303ms | 4845kb | Time limit exceeded | 0 |
| 8 | 300ms | 4845kb | Time limit exceeded | 0 |
| 9 | 300ms | 4063kb | Time limit exceeded | 0 |
| 10 | 303ms | 4587kb | Time limit exceeded | 0 |
| Punctaj total | 60 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
