Pagini recente »
Borderou de evaluare (job #460858)
|
Borderou de evaluare (job #214138)
|
Borderou de evaluare (job #597024)
|
Borderou de evaluare (job #709112)
|
Borderou de evaluare (job #709620)
Borderou de evaluare (job #709620)
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 | if(cnt1>p1)
| ^~
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:135:14: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
135 | cout<<a<<'\n'<<maxi;
| ^~~~
main.cpp:12:39: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
12 | int n,j,i,cnt1,cnt2,o1,o2,p1,p2,a,b,maxi=-1;
| ^
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
|
1 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
|
1 ms
|
245 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
|