Tiltai ir tuneliai

Taškai: 0

Compile: OK

tiltai.cpp: In member function ‘int disjointSets::kabink(int, int)’: tiltai.cpp:37:5: warning: no return statement in function returning non-void [-Wreturn-type] 37 | } | ^ tiltai.cpp: In function ‘int main()’: tiltai.cpp:52:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 52 | freopen("tiltai.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tiltai.cpp:53:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 53 | freopen("tiltai.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ tiltai.cpp:54:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 54 | scanf("%d\n", &N); | ~~~~~^~~~~~~~~~~~

nr.resulttimemessage
1False0.002 sCaught fatal signal 11
2False0.001 sCaught fatal signal 11
3False0.001 sCaught fatal signal 11
4False0.001 sCaught fatal signal 11
5False0.001 sCaught fatal signal 11