Pagini recente » Borderou de evaluare (job #2872478) | Borderou de evaluare (job #704542) | Borderou de evaluare (job #3268646) | Borderou de evaluare (job #3265726) | Borderou de evaluare (job #2659673)
Borderou de evaluare (job #2659673)
Raport evaluator
Compilare:
main.cpp: In function 'void solve1()':
main.cpp:78:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(rez1.size() > 1 && det(rez1[rez1.size() - 2],rez1[rez1.size() - 1], a[i]) <= 0)
^~~~~
main.cpp:82:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
rez1.push_back(a[i]);
^~~~
main.cpp: In function 'void afisare()':
main.cpp:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < rez1.size() - 1 ;i++)
~~^~~~~~~~~~~~~~~~~
main.cpp:118:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for( int i = 0; i < rez1.size() - 1 ;i++)
^~~
main.cpp:122:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for( int i = 0; i <= rez2.size() - 2 ;i++)
^~~
main.cpp:122:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i <= rez2.size() - 2 ;i++)
~~^~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Corect | 10 |
3 | 40ms | 393kb | Corect | 10 |
4 | 39ms | 393kb | Corect | 10 |
5 | 40ms | 393kb | Corect | 10 |
6 | 218ms | 1835kb | Numar de puncte incorect | 0 |
7 | 222ms | 1835kb | Numar de puncte incorect | 0 |
8 | 231ms | 1835kb | Numar de puncte incorect | 0 |
9 | 244ms | 1835kb | Numar de puncte incorect | 0 |
10 | 215ms | 1835kb | Numar de puncte incorect | 0 |
Punctaj total | 50 |