Borderou de evaluare (job #2390338)
Utilizator | Data | 27 martie 2019 22:17:22 | |
---|---|---|---|
Problema | Secventa 5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void print(const std::unordered_map<int, int>&)':
main.cpp:23:15: error: expected unqualified-id before '[' token
for (auto [k, v] : x) {
^
main.cpp:23:15: error: expected ';' before '[' token
main.cpp:23:16: error: 'k' was not declared in this scope
for (auto [k, v] : x) {
^
main.cpp:23:19: error: 'v' was not declared in this scope
for (auto [k, v] : x) {
^
main.cpp: In lambda function:
main.cpp:23:22: error: expected '{' before ':' token
for (auto [k, v] : x) {
^
main.cpp: In function 'void print(const std::unordered_map<int, int>&)':
main.cpp:23:22: error: expected ';' before ':' token
main.cpp:23:22: error: expected primary-expression before ':' token
main.cpp:23:22: error: expected ')' before ':' token
main.cpp:23:22: error: expected primary-expression before ':' token
main.cpp: In function 'void solve()':
main.cpp:40:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (++j1; j1 < n && h1.size() < L; ++j1) {
~~~~~~~~~~^~~
main.cpp:48:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (h1.size() == L) {
~~~~~~~~~~^~~~
main.cpp: In function 'void cit(int&)':
main.cpp:15:57: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (++pz == dim) fread(ax, 1, dim, stdin),pz = 0;
^
main.cpp:18:58: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (++pz == dim) fread(ax, 1, dim, stdin), pz = 0;
^
main.cpp: In function 'int main()':
main.cpp:69:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in", "r", stdin);
^
main.cpp:70:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !