Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
submit2 /
114887 /
Delete
Unzip
Name
Size
Permission
Date
Action
a.cpp
1007
B
-rwxr-x---
2024-08-28 22:35
cerror.txt
4.83
KB
-rwxr-x---
2024-08-28 22:35
error.txt
0
B
-rwxr-x---
2024-08-28 22:35
submit_info.txt
10
B
-rwxr-x---
2024-08-28 22:35
Save
Rename
/var/www/judge/submit2/114887/a.cpp: In function ‘int main()’: /var/www/judge/submit2/114887/a.cpp:24:8: error: ‘string’ was not declared in this scope 24 | for (string &s: S) std::cin >> s; | ^~~~~~ /var/www/judge/submit2/114887/a.cpp:24:8: note: suggested alternatives: In file included from /usr/include/c++/11/iosfwd:39, from /usr/include/c++/11/ios:38, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from /var/www/judge/submit2/114887/a.cpp:1: /usr/include/c++/11/bits/stringfwd.h:79:33: note: ‘std::string’ 79 | typedef basic_string<char> string; | ^~~~~~ In file included from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from /var/www/judge/submit2/114887/a.cpp:1: /usr/include/c++/11/string:67:11: note: ‘std::pmr::string’ 67 | using string = basic_string<char>; | ^~~~~~ /var/www/judge/submit2/114887/a.cpp:24:17: error: found ‘:’ in nested-name-specifier, expected ‘::’ 24 | for (string &s: S) std::cin >> s; | ^ | :: /var/www/judge/submit2/114887/a.cpp:24:16: error: ‘s’ has not been declared 24 | for (string &s: S) std::cin >> s; | ^ /var/www/judge/submit2/114887/a.cpp:28:33: error: expected primary-expression before ‘dp’ 28 | std::vector<std::vector<int>> dp(1 << N, std::vector<int>(N, 0)); | ^~ /var/www/judge/submit2/114887/a.cpp:28:32: error: expected ‘)’ before ‘dp’ 28 | std::vector<std::vector<int>> dp(1 << N, std::vector<int>(N, 0)); | ^~~ | ) /var/www/judge/submit2/114887/a.cpp:24:7: note: to match this ‘(’ 24 | for (string &s: S) std::cin >> s; | ^ /var/www/judge/submit2/114887/a.cpp:28:33: error: ‘dp’ was not declared in this scope; did you mean ‘dup’? 28 | std::vector<std::vector<int>> dp(1 << N, std::vector<int>(N, 0)); | ^~ | dup /var/www/judge/submit2/114887/a.cpp:32:9: error: ‘dp’ was not declared in this scope; did you mean ‘dup’? 32 | dp[i][j] = std::max(dp[i][j], dp[i ^ (1 << j)][k]); | ^~ | dup /var/www/judge/submit2/114887/a.cpp:33:7: error: ‘dp’ was not declared in this scope; did you mean ‘dup’? 33 | dp[i][j] += (int) S[j].size(); | ^~ | dup /var/www/judge/submit2/114887/a.cpp:34:7: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 34 | ans = max(ans, dp[i][j]); | ^~~ | abs /var/www/judge/submit2/114887/a.cpp:34:13: error: ‘max’ was not declared in this scope 34 | ans = max(ans, dp[i][j]); | ^~~ /var/www/judge/submit2/114887/a.cpp:34:13: note: suggested alternatives: In file included from /usr/include/c++/11/string:52, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from /var/www/judge/submit2/114887/a.cpp:1: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /usr/include/c++/11/algorithm:64, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65, from /var/www/judge/submit2/114887/a.cpp:1: /usr/include/c++/11/bits/ranges_algo.h:3011:29: note: ‘std::ranges::max’ 3011 | inline constexpr __max_fn max{}; | ^~~ /var/www/judge/submit2/114887/a.cpp:38:16: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 38 | std::cout << ans << '\n'; | ^~~ | abs