Borderou de evaluare (job #3223411)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:78:37: warning: 'instrs' may be used uninitialized [-Wmaybe-uninitialized]
78 | if (instrs == 'f' || instrs == 'b')
| ~~~~~~~^~~~~~
main.cpp:36:21: note: 'instrs' was declared here
36 | char instr, instrs;
| ^~~~~~
main.cpp:86:55: warning: 'ys' may be used uninitialized [-Wmaybe-uninitialized]
86 | double ip = sqrt((x - xs) * (x - xs) + (y - ys) * (y - ys));
| ~~~^~~~~
main.cpp:34:34: note: 'ys' was declared here
34 | double x = 0, y = 0, xs, ys;
| ^~
main.cpp:86:33: warning: 'xs' may be used uninitialized [-Wmaybe-uninitialized]
86 | double ip = sqrt((x - xs) * (x - xs) + (y - ys) * (y - ys));
| ~~~^~~~~
main.cpp:34:30: note: 'xs' was declared here
34 | double x = 0, y = 0, xs, ys;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 303kb | OK | 100 |
Punctaj total | 100 |