Borderou de evaluare (job #1952948)

Utilizator atatomirTatomir Alex atatomir Data 4 aprilie 2017 15:11:40
Problema Rectangles Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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
14ms676kbOK1010
248ms2376kbOK1020
348ms2644kbOK10
41396ms48072kbOK100
5Depăşit122224kbTime limit exceeded.0
6Depăşit94928kbTime limit exceeded.0
7Depăşit120612kbTime limit exceeded.00
8Depăşit120044kbTime limit exceeded.0
9Depăşit118232kbTime limit exceeded.0
10Depăşit121304kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?