Pagini recente » Borderou de evaluare (job #670223) | Borderou de evaluare (job #528230) | Borderou de evaluare (job #3230406) | Borderou de evaluare (job #905553) | Borderou de evaluare (job #3130137)
Borderou de evaluare (job #3130137)
Raport evaluator
Compilare:
main.cpp: In function 'bool cautare(int)':
main.cpp:17:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (int i = 0; i < v[cheie].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:32:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
32 | if (!cautare(x)); {
| ^~
main.cpp:32:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
32 | if (!cautare(x)); {
| ^
main.cpp:38:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for (int i = 0; i < v[cheie].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp:40:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int j = i; j < v[cheie].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 303kb | OK | 10 | 10 |
2 | 2ms | 303kb | OK | 10 | 10 |
3 | 2ms | 557kb | OK | 10 | 10 |
4 | 9ms | 819kb | OK | 10 | 30 |
5 | 24ms | 17879kb | OK | 10 |
6 | 14ms | 5378kb | OK | 10 |
7 | 54ms | 19357kb | OK | 10 | 10 |
8 | 94ms | 24817kb | OK | 10 | 30 |
9 | 178ms | 28446kb | OK | 10 |
10 | 173ms | 26898kb | OK | 10 |
Punctaj total | 100 |