Borderou de evaluare (job #2677963)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); ++i) {
~~^~~~~~~~~~
main.cpp:20:66: warning: variable 'dr2' set but not used [-Wunused-but-set-variable]
int s = 0, smax = 0, mini = INT_MAX, st, dr, st_aux = 0, dr2, st2;
^~~
main.cpp:20:71: warning: variable 'st2' set but not used [-Wunused-but-set-variable]
int s = 0, smax = 0, mini = INT_MAX, st, dr, st_aux = 0, dr2, st2;
^~~
main.cpp:37:59: warning: 'dr' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << mini << ' ' << st + 1 << ' ' << dr + 1 << '\n';
^~~~
main.cpp:37:42: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << mini << ' ' << st + 1 << ' ' << dr + 1 << '\n';
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | OK | 10 |
6 | 3ms | 131kb | Incorect | 0 |
7 | 3ms | 131kb | Incorect | 0 |
8 | 3ms | 131kb | OK | 10 |
9 | 3ms | 131kb | Incorect | 0 |
10 | 6ms | 131kb | Incorect | 0 |
Punctaj total | 40 |