Pagini recente »
Borderou de evaluare (job #832729)
|
Borderou de evaluare (job #832927)
Borderou de evaluare (job #832927)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<pluton>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while ( idxPlutoni < plutoni.size () && plutoni[idxPlutoni].constr != constrSoldat )
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:38:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<pluton>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if ( idxPlutoni == plutoni.size () ) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:56:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<pluton>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for ( idxPlutoni = 0 ; idxPlutoni < plutoni.size () ; idxPlutoni++ ) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:57:50: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
57 | if ( plutoni[idxPlutoni].soldati.size () > mxSoldati ) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:62:57: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
62 | } else if ( plutoni[idxPlutoni].soldati.size () == mxSoldati )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
504 kb
|
OK
|
10
|
|
2
|
1 ms
|
504 kb
|
OK
|
10
|
|
3
|
1 ms
|
504 kb
|
OK
|
10
|
|
4
|
1 ms
|
296 kb
|
OK
|
10
|
|
5
|
1 ms
|
296 kb
|
OK
|
10
|
|
6
|
2 ms
|
504 kb
|
OK
|
10
|
|
7
|
1 ms
|
296 kb
|
OK
|
10
|
|
8
|
3 ms
|
296 kb
|
OK
|
10
|
|
9
|
3 ms
|
296 kb
|
OK
|
10
|
|
10
|
3 ms
|
504 kb
|
OK
|
10
|
|
Punctaj total
|
100
|