Pagini recente » Borderou de evaluare (job #3295733) | Borderou de evaluare (job #66) | Borderou de evaluare (job #417386) | Borderou de evaluare (job #2933969) | Borderou de evaluare (job #1952948)
Borderou de evaluare (job #1952948)
Raport evaluator
Compilare:
user.cpp: In member function ‘std::vector<Point> rect::intr(rect&)’:
user.cpp:43:13: warning: narrowing conversion of ‘((rect*)this)->rect::x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
aux = {x1, who.y1};
^
user.cpp:43:13: warning: narrowing conversion of ‘who.rect::y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:44:44: warning: narrowing conversion of ‘((rect*)this)->rect::x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
if (on_line({x1, y1}, aux, {x1, y2}) && on_line({who.x1, who.y1}, aux, {who.x2, who.y1}))
^
user.cpp:44:44: warning: narrowing conversion of ‘((rect*)this)->rect::y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:44:44: warning: narrowing conversion of ‘((rect*)this)->rect::x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:44:44: warning: narrowing conversion of ‘((rect*)this)->rect::y2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:44:96: warning: narrowing conversion of ‘who.rect::x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
if (on_line({x1, y1}, aux, {x1, y2}) && on_line({who.x1, who.y1}, aux, {who.x2, who.y1}))
^
user.cpp:44:96: warning: narrowing conversion of ‘who.rect::y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:44:96: warning: narrowing conversion of ‘who.rect::x2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:44:96: warning: narrowing conversion of ‘who.rect::y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:47:13: warning: narrowing conversion of ‘((rect*)this)->rect::x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
aux = {x1, who.y2};
^
user.cpp:47:13: warning: narrowing conversion of ‘who.rect::y2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:48:44: warning: narrowing conversion of ‘((rect*)this)->rect::x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
if (on_line({x1, y1}, aux, {x1, y2}) && on_line({who.x1, who.y2}, aux, {who.x2, who.y2}))
^
user.cpp:48:44: warning: narrowing conversion of ‘((rect*)this)->rect::y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:48:44: warning: narrowing conversion of ‘((rect*)this)->rect::x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:48:44: warning: narrowing conversion of ‘((rect*)this)->rect::y2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:48:96: warning: narrowing conversion of ‘who.rect::x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
if (on_line({x1, y1}, aux, {x1, y2}) && on_line({who.x1, who.y2}, aux, {who.x2, who.y2}))
^
user.cpp:48:96: warning: narrowing conversion of ‘who.rect::y2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:48:96: warning: narrowing conversion of ‘who.rect::x2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:48:96: warning: narrowing conversion of ‘who.rect::y2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:51:13: warning: narrowing conversion of ‘((rect*)this)->rect::x2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
aux = {x2, who.y1};
^
user.cpp:51:13: warning: narrowing conversion of ‘who.rect::y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:52:44: warning: narrowing conversion of ‘((rect*)this)->rect::x2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
if (on_line({x2, y1}, aux, {x2, y2}) && on_line({who.x1, who.y1}, aux, {who.x2, who.y1}))
^
user.cpp:52:44: warning: narrowing conversion of ‘((rect*)this)->rect::y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:52:44: warning: narrowing conversion of ‘((rect*)this)->rect::x2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:52:44: warning: narrowing conversion of ‘((rect*)this)->rect::y2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:52:96: warning: narrowing conversion of ‘who.rect::x1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
if (on_line({x2, y1}, aux, {x2, y2}) && on_line({who.x1, who.y1}, aux, {who.x2, who.y1}))
^
user.cpp:52:96: warning: narrowing conversion of ‘who.rect::y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:52:96: warning: narrowing conversion of ‘who.rect::x2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:52:96: warning: narrowing conversion of ‘who.rect::y1’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:55:13: warning: narrowing conversion of ‘((rect*)this)->rect::x2’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 676kb | OK | 10 | 10 |
2 | 48ms | 2376kb | OK | 10 | 20 |
3 | 48ms | 2644kb | OK | 10 |
4 | 1396ms | 48072kb | OK | 10 | 0 |
5 | Depăşit | 122224kb | Time limit exceeded. | 0 |
6 | Depăşit | 94928kb | Time limit exceeded. | 0 |
7 | Depăşit | 120612kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 120044kb | Time limit exceeded. | 0 |
9 | Depăşit | 118232kb | Time limit exceeded. | 0 |
10 | Depăşit | 121304kb | Time limit exceeded. | 0 |
Punctaj total | 30 |