Borderou de evaluare (job #2433237)

Utilizator gabrielinelusGabriel-Robert Inelus gabrielinelus 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
12ms131kbOK10
22ms131kbOK10
37ms262kbOK10
43ms131kbOK10
5170ms4186kbOK10
6160ms3792kbOK10
7303ms4845kbTime limit exceeded0
8300ms4845kbTime limit exceeded0
9300ms4063kbTime limit exceeded0
10303ms4587kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?