Borderou de evaluare (job #2649767)

Utilizator Calin_IftichiIftichi Albert Ioan Calin Calin_Iftichi Data 16 septembrie 2020 12:06:56
Problema Jetoane Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 35

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = 1; i <= n; i++) ^~~ main.cpp:15:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' sort(a + 1, a + n + 1); ^~~~ main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = 1; i <= m; i++) ^~~ main.cpp:18:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' sort(b + 1, b + m + 1); ^~~~ main.cpp:47:22: warning: 'poz2b' may be used uninitialized in this function [-Wmaybe-uninitialized] for(j = poz1b; j <= poz2b; j++) ~~^~~~~~~~ main.cpp:11:41: warning: 'poz2a' may be used uninitialized in this function [-Wmaybe-uninitialized] int ct1 = 0, ct2 = 0, poz1a, poz1b, poz2a, poz2b, i, j, n, m, a[28001], b[28001], vmin = 999999999, vmax = 0; ^~~~~ main.cpp:11:34: warning: 'poz1b' may be used uninitialized in this function [-Wmaybe-uninitialized] int ct1 = 0, ct2 = 0, poz1a, poz1b, poz2a, poz2b, i, j, n, m, a[28001], b[28001], vmin = 999999999, vmax = 0; ^~~~~ main.cpp:11:27: warning: 'poz1a' may be used uninitialized in this function [-Wmaybe-uninitialized] int ct1 = 0, ct2 = 0, poz1a, poz1b, poz2a, poz2b, i, j, n, m, a[28001], b[28001], vmin = 999999999, vmax = 0; ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK5
22ms131kbIncorect0
35ms131kbIncorect0
47ms131kbOK5
58ms131kbOK5
617ms237kbIncorect0
719ms131kbOK5
819ms131kbOK5
971ms253kbIncorect0
1035ms131kbIncorect0
112ms131kbOK5
123ms131kbOK5
138ms131kbIncorect0
14101ms262kbTime limit exceeded0
15101ms262kbTime limit exceeded0
16100ms262kbTime limit exceeded0
17101ms262kbTime limit exceeded0
18101ms393kbTime limit exceeded0
19100ms393kbTime limit exceeded0
20101ms393kbTime limit exceeded0
Punctaj total35

Ceva nu functioneaza?