Pagini recente »
Borderou de evaluare (job #550766)
|
Borderou de evaluare (job #491642)
|
Borderou de evaluare (job #493493)
|
Borderou de evaluare (job #551770)
|
Borderou de evaluare (job #667009)
Borderou de evaluare (job #667009)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
15 | if(i!=1)
| ^~
main.cpp:20:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
20 | if((x2<x1 && x1>x) || (x2>x1 && x1<x))
| ^~
main.cpp:15:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
15 | if(i!=1)
| ^
main.cpp:20:32: warning: 'x2' may be used uninitialized in this function [-Wmaybe-uninitialized]
20 | if((x2<x1 && x1>x) || (x2>x1 && x1<x))
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:20:42: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
20 | if((x2<x1 && x1>x) || (x2>x1 && x1<x))
| ~~~~~~~^~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
2 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
Punctaj total
|
0
|