Pagini recente » Borderou de evaluare (job #420772) | Borderou de evaluare (job #940442) | Borderou de evaluare (job #2328426) | Borderou de evaluare (job #563542) | Borderou de evaluare (job #1058075)
Borderou de evaluare (job #1058075)
Raport evaluator
Compilare:
user.cpp: In function ‘bool rightOfLine(std::pair<double, double>, std::pair<double, double>, std::pair<double, double>)’:
user.cpp:31:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( a.first == b.first )
^
user.cpp:37:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( a.second == b.second )
^
user.cpp: In function ‘bool comp(std::pair<double, double>, std::pair<double, double>)’:
user.cpp:59:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( cmp1 == cmp2 )
^
user.cpp: In function ‘int main()’:
user.cpp:96:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<std::pair<double, double> >::size_type {aka unsigned int}’ [-Wformat=]
printf ( "%ld\n", queue.size ( ) );
^
user.cpp:97:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( long i = 0; i < queue.size ( ); i++ )
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Poligon gresit! | 0 |
2 | 0ms | 296kb | Numar de puncte incorect | 0 |
3 | 68ms | 672kb | Numar de puncte incorect | 0 |
4 | 68ms | 668kb | Numar de puncte incorect | 0 |
5 | 68ms | 672kb | Numar de puncte incorect | 0 |
6 | 484ms | 2432kb | Numar de puncte incorect | 0 |
7 | 488ms | 2436kb | Numar de puncte incorect | 0 |
8 | 488ms | 2436kb | Numar de puncte incorect | 0 |
9 | 484ms | 2436kb | Numar de puncte incorect | 0 |
10 | 484ms | 2432kb | Numar de puncte incorect | 0 |
Punctaj total | 0 |