Naftos telkiniai
- [1] 2020-03-01 15:22 (0)
- [2] 2020-03-01 15:35 (0)
- [3] 2020-03-01 15:36 (0)
- [4] 2020-03-01 18:21 (0)
- [5] 2020-03-01 18:23 (100)
Taškai: 0
Compile: OK
nafta.cpp: In function ‘int main()’: nafta.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nafta.in", "r", stdin); ^ nafta.cpp:44:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nafta.out", "w", stdout); ^ nafta.cpp: In function ‘int NumberOfconnectedComponents()’: nafta.cpp:23:22: warning: iteration 10001u invokes undefined behavior [-Waggressive-loop-optimizations] if (visited[v] == false) { ^ nafta.cpp:22:23: note: containing loop for (int v = 0; v < 1000000; v++) { ^ nafta.cpp: In function ‘int main()’: nafta.cpp:46:26: warning: iteration 10001u invokes undefined behavior [-Waggressive-loop-optimizations] visited[i] = true; ^ nafta.cpp:45:20: note: containing loop for(int i = 0;i<1000000; i++){ ^
nr. | result | time | message |
---|---|---|---|
1 | False | 0.0 s | Caught fatal signal 11 |
2 | False | 0.004 s | Caught fatal signal 11 |
3 | False | 0.004 s | Caught fatal signal 11 |
4 | False | 0.004 s | Caught fatal signal 11 |
5 | False | 0.0 s | Caught fatal signal 11 |
6 | False | 0.0 s | Caught fatal signal 11 |
7 | False | 0.004 s | Caught fatal signal 11 |
8 | False | 0.004 s | Caught fatal signal 11 |
9 | False | 0.004 s | Caught fatal signal 11 |
10 | False | 0.0 s | Caught fatal signal 11 |