Pagini recente » Borderou de evaluare (job #2665335) | Borderou de evaluare (job #3169817) | Borderou de evaluare (job #1193037) | Borderou de evaluare (job #2566638) | Borderou de evaluare (job #3267214)
Borderou de evaluare (job #3267214)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:6: warning: unused variable 'x1' [-Wunused-variable]
22 | int x1,y1,x2,y2,x3,y3,xp,yp;
| ^~
main.cpp:22:9: warning: unused variable 'y1' [-Wunused-variable]
22 | int x1,y1,x2,y2,x3,y3,xp,yp;
| ^~
main.cpp:22:12: warning: unused variable 'x2' [-Wunused-variable]
22 | int x1,y1,x2,y2,x3,y3,xp,yp;
| ^~
main.cpp:22:15: warning: unused variable 'y2' [-Wunused-variable]
22 | int x1,y1,x2,y2,x3,y3,xp,yp;
| ^~
main.cpp:22:18: warning: unused variable 'x3' [-Wunused-variable]
22 | int x1,y1,x2,y2,x3,y3,xp,yp;
| ^~
main.cpp:22:21: warning: unused variable 'y3' [-Wunused-variable]
22 | int x1,y1,x2,y2,x3,y3,xp,yp;
| ^~
main.cpp:65:20: warning: 'indice' may be used uninitialized [-Wmaybe-uninitialized]
65 | }fout<<indice<<" ";
| ^~~
main.cpp:31:12: note: 'indice' was declared here
31 | signed indice,Max=0;
| ^~~~~~
In function 'double getD(double, double, double, double, double, double)',
inlined from 'double getArie(double, double, double, double, double, double)' at main.cpp:18:12,
inlined from 'int main()' at main.cpp:53:30:
main.cpp:14:14: warning: 'yMax3' may be used uninitialized [-Wmaybe-uninitialized]
14 | return x1*y2+x2*y3+x3*y1-x3*y2-x1*y3-x2*y1;
| ~~^~~
main.cpp: In function 'int main()':
main.cpp:30:39: note: 'yMax3' was declared here
30 | int xMax1,yMax1,xMax2,yMax2,xMax3,yMax3;
| ^~~~~
In function 'double getD(double, double, double, double, double, double)',
inlined from 'double getArie(double, double, double, double, double, double)' at main.cpp:18:12,
inlined from 'int main()' at main.cpp:53:30:
main.cpp:14:44: warning: 'xMax3' may be used uninitialized [-Wmaybe-uninitialized]
14 | return x1*y2+x2*y3+x3*y1-x3*y2-x1*y3-x2*y1;
| ~~^~~
main.cpp: In function 'int main()':
main.cpp:30:33: note: 'xMax3' was declared here
30 | int xMax1,yMax1,xMax2,yMax2,xMax3,yMax3;
| ^~~~~
In function 'double getD(double, double, double, double, double, double)',
inlined from 'double getArie(double, double, double, double, double, double)' at main.cpp:18:12,
inlined from 'int main()' at main.cpp:52:30:
main.cpp:14:14: warning: 'yMax2' may be used uninitialized [-Wmaybe-uninitialized]
14 | return x1*y2+x2*y3+x3*y1-x3*y2-x1*y3-x2*y1;
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 5 |
2 | 0ms | 303kb | OK | 5 |
3 | 0ms | 303kb | OK | 5 |
4 | 0ms | 303kb | OK | 5 |
5 | 0ms | 303kb | OK | 5 |
6 | 0ms | 303kb | OK | 5 |
7 | 0ms | 303kb | OK | 5 |
8 | 0ms | 303kb | OK | 5 |
9 | 0ms | 303kb | OK | 5 |
10 | 0ms | 303kb | OK | 5 |
11 | 0ms | 303kb | OK | 5 |
12 | 0ms | 303kb | OK | 5 |
13 | 0ms | 303kb | OK | 5 |
14 | 0ms | 303kb | OK | 5 |
15 | 0ms | 303kb | OK | 5 |
16 | 0ms | 303kb | OK | 5 |
17 | 0ms | 303kb | OK | 5 |
18 | 0ms | 303kb | OK | 5 |
19 | 0ms | 303kb | OK | 5 |
20 | 0ms | 303kb | OK | 5 |
Punctaj total | 100 |