Varliukai
- [1] 2023-12-07 08:48 (81.3)
- [2] 2023-12-07 08:49 (0)
- [3] 2023-12-07 08:50 (87.5)
- [4] 2023-12-07 08:52 (12.5)
- [5] 2023-12-07 09:03 (93.8)
- [6] 2023-12-07 09:30 (100)
Taškai: 0
Compile: FAIL
lmio_2008_3e2_varliukai_jau.cpp: In function ‘void dfs(int, int, int, bool)’: lmio_2008_3e2_varliukai_jau.cpp:28:13: error: reference to ‘cout’ is ambiguous 28 | cout << "0\n"; | ^~~~ In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75, from lmio_2008_3e2_varliukai_jau.cpp:1: /usr/include/c++/11/iostream:61:18: note: candidates are: ‘std::ostream std::cout’ 61 | extern ostream cout; /// Linked to standard output | ^~~~ lmio_2008_3e2_varliukai_jau.cpp:11:14: note: ‘std::ofstream cout’ 11 | ofstream cout ("lmio_2008_3e2_varliukai_jau.out"); | ^~~~ lmio_2008_3e2_varliukai_jau.cpp: In function ‘int main()’: lmio_2008_3e2_varliukai_jau.cpp:38:5: error: reference to ‘cin’ is ambiguous 38 | cin.tie(nullptr); | ^~~ In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75, from lmio_2008_3e2_varliukai_jau.cpp:1: /usr/include/c++/11/iostream:60:18: note: candidates are: ‘std::istream std::cin’ 60 | extern istream cin; /// Linked to standard input | ^~~ lmio_2008_3e2_varliukai_jau.cpp:10:14: note: ‘std::ifstream cin’ 10 | ifstream cin("lmio_2008_3e2_varliukai_jau.in"); | ^~~ lmio_2008_3e2_varliukai_jau.cpp:40:5: error: reference to ‘cin’ is ambiguous 40 | cin >> N; | ^~~ In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75, from lmio_2008_3e2_varliukai_jau.cpp:1: /usr/include/c++/11/iostream:60:18: note: candidates are: ‘std::istream std::cin’ 60 | extern istream cin; /// Linked to standard input | ^~~ lmio_2008_3e2_varliukai_jau.cpp:10:14: note: ‘std::ifstream cin’ 10 | ifstream cin("lmio_2008_3e2_varliukai_jau.in"); | ^~~ lmio_2008_3e2_varliukai_jau.cpp:47:9: error: reference to ‘cin’ is ambiguous 47 | cin >> k; | ^~~ In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75, from lmio_2008_3e2_varliukai_jau.cpp:1: /usr/include/c++/11/iostream:60:18: note: candidates are: ‘std::istream std::cin’ 60 | extern istream cin; /// Linked to standard input | ^~~ lmio_2008_3e2_varliukai_jau.cpp:10:14: note: ‘std::ifstream cin’ 10 | ifstream cin("lmio_2008_3e2_varliukai_jau.in"); | ^~~ lmio_2008_3e2_varliukai_jau.cpp:50:13: error: reference to ‘cin’ is ambiguous 50 | cin >> a; | ^~~ In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75, from lmio_2008_3e2_varliukai_jau.cpp:1: /usr/include/c++/11/iostream:60:18: note: candidates are: ‘std::istream std::cin’ 60 | extern istream cin; /// Linked to standard input | ^~~ lmio_2008_3e2_varliukai_jau.cpp:10:14: note: ‘std::ifstream cin’ 10 | ifstream cin("lmio_2008_3e2_varliukai_jau.in"); | ^~~ lmio_2008_3e2_varliukai_jau.cpp:59:5: error: reference to ‘cout’ is ambiguous 59 | cout << rez << '\n'; | ^~~~ In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75, from lmio_2008_3e2_varliukai_jau.cpp:1: /usr/include/c++/11/iostream:61:18: note: candidates are: ‘std::ostream std::cout’ 61 | extern ostream cout; /// Linked to standard output | ^~~~ lmio_2008_3e2_varliukai_jau.cpp:11:14: note: ‘std::ofstream cout’ 11 | ofstream cout ("lmio_2008_3e2_varliukai_jau.out"); | ^~~~
nr. | result | time | message |
---|