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. | result | time | message |
---|---|---|---|
1 | False | 0.002 s | Caught fatal signal 11 |
2 | False | 0.001 s | Caught fatal signal 11 |
3 | False | 0.001 s | Caught fatal signal 11 |
4 | False | 0.001 s | Caught fatal signal 11 |
5 | False | 0.001 s | Caught fatal signal 11 |