Pagini recente »
Borderou de evaluare (job #791513)
|
Borderou de evaluare (job #436205)
|
Borderou de evaluare (job #553299)
|
Borderou de evaluare (job #496144)
|
Borderou de evaluare (job #641814)
Borderou de evaluare (job #641814)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
22 | for (int i = 0; i < num.size() - 1; i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp:24:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
24 | for (int j = i + 1; j < num.size(); j++)
| ~~^~~~~~~~~~~~
main.cpp:33:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
33 | for (int i = 0; i < num.size(); i++)
| ~~^~~~~~~~~~~~
main.cpp:10:12: warning: variable 'cn' set but not used [-Wunused-but-set-variable]
10 | int n, cn, i, nr = 0; bool exit; vector<int> num;
| ^~
main.cpp:10:19: warning: unused variable 'nr' [-Wunused-variable]
10 | int n, cn, i, nr = 0; bool exit; vector<int> num;
| ^~
main.cpp:10:32: warning: unused variable 'exit' [-Wunused-variable]
10 | int n, cn, i, nr = 0; bool exit; vector<int> num;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
2
|
1 ms
|
114 kb
|
1) OK; 2) linie incorecta;
|
3
|
3
|
1 ms
|
114 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
4
|
1 ms
|
114 kb
|
OK
|
10
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
6
|
1 ms
|
114 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
7
|
1 ms
|
114 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
8
|
1 ms
|
114 kb
|
1) OK; 2) linie incorecta;
|
3
|
9
|
1 ms
|
114 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
10
|
1 ms
|
114 kb
|
OK
|
10
|
Punctaj total
|
36
|