teleporters.cpp: In function 'int main()':
teleporters.cpp:44:18: error: expected ';' before 'javascript'
44 | pos = tp[pos] javascript:tab_clicked(1)+ 1;
| ^~~~~~~~~~~
| ;
teleporters.cpp:8:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
teleporters.cpp:10:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d%d",&a[i],&b[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~