Pagini recente »
Borderou de evaluare (job #507749)
|
Borderou de evaluare (job #512019)
|
Borderou de evaluare (job #183360)
|
Borderou de evaluare (job #809242)
|
Borderou de evaluare (job #709624)
Borderou de evaluare (job #709624)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
17 | for(int i=1; i<=n; i++)
| ^~~
main.cpp:19:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
19 | cnt1=1;
| ^~~~
main.cpp:48:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
48 | else
| ^~~~
main.cpp:50:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
50 | a=0;
| ^
main.cpp:12:25: warning: 'o1' may be used uninitialized [-Wmaybe-uninitialized]
12 | int n,j,i,cnt1,cnt2,o1,o2,p1,p2,a,b,maxi=-1;
| ^~
main.cpp:12:28: warning: 'o2' may be used uninitialized [-Wmaybe-uninitialized]
12 | int n,j,i,cnt1,cnt2,o1,o2,p1,p2,a,b,maxi=-1;
| ^~
main.cpp:137:14: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
137 | cout<<a<<'\n'<<maxi;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
2
|
1 ms
|
245 kb
|
1) linie incorecta; 2) OK;
|
6
|
3
|
2 ms
|
245 kb
|
1) linie incorecta; 2) OK;
|
6
|
4
|
1 ms
|
245 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
5
|
1 ms
|
245 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
6
|
2 ms
|
241 kb
|
1) linie incorecta; 2) OK;
|
6
|
7
|
1 ms
|
245 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
8
|
1 ms
|
245 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
9
|
1 ms
|
245 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
10
|
1 ms
|
245 kb
|
1) linie incorecta; 2) linie incorecta;
|
0
|
Punctaj total
|
18
|