Main.cpp: In function 'int main()':
Main.cpp:7:52: warning: unused variable 'PrevTime' [-Wunused-variable]
7 | int N, T, A, B, Time, PointA, PointB, Current, PrevTime, CurrentS;
| ^~~~~~~~
Main.cpp:29:24: warning: 'PointB' may be used uninitialized in this function [-Wmaybe-uninitialized]
29 | cout<<PointA<<" "<<PointB;
| ^~~~~~
Main.cpp:29:19: warning: 'PointA' may be used uninitialized in this function [-Wmaybe-uninitialized]
29 | cout<<PointA<<" "<<PointB;
| ^~~
Main.cpp:11:9: warning: 'CurrentS' may be used uninitialized in this function [-Wmaybe-uninitialized]
11 | if (A==CurrentS && Current==1 && (T-Time)<=10){
| ^~
Main.cpp:11:25: warning: 'Current' may be used uninitialized in this function [-Wmaybe-uninitialized]
11 | if (A==CurrentS && Current==1 && (T-Time)<=10){
| ~~~~~~~~~~~~^~~~~~~~~~~~~
Main.cpp:11:44: warning: 'Time' may be used uninitialized in this function [-Wmaybe-uninitialized]
11 | if (A==CurrentS && Current==1 && (T-Time)<=10){
| ~~^~~~~~