F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_37818126_5646.cpp: In function 'int main()':
0_0_37818126_5646.cpp:22:38: error: converting to 'std::vector<std::tuple<int, signed char, signed char> >::value_type {aka std::tuple<int, signed char, signed char>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, signed char, signed char}]'
     vis[F(i,{j,k})].push_back({i,j,k});
                                      ^
0_0_37818126_5646.cpp:26:13: error: expected unqualified-id before '[' token
    for(auto [i,j,k]:vis[x]){
             ^
0_0_37818126_5646.cpp:26:13: error: expected ';' before '[' token
0_0_37818126_5646.cpp:26:14: error: 'i' was not declared in this scope
    for(auto [i,j,k]:vis[x]){
              ^
0_0_37818126_5646.cpp:26:16: error: 'j' was not declared in this scope
    for(auto [i,j,k]:vis[x]){
                ^
0_0_37818126_5646.cpp:26:18: error: 'k' was not declared in this scope
    for(auto [i,j,k]:vis[x]){
                  ^
0_0_37818126_5646.cpp: In lambda function:
0_0_37818126_5646.cpp:26:20: error: expected '{' before ':' token
    for(auto [i,j,k]:vis[x]){
                    ^
0_0_37818126_5646.cpp: In function 'int main()':
0_0_37818126_5646.cpp:26:20: error: expected ';' before ':' token
0_0_37818126_5646.cpp:26:20: error: expected primary-expression before ':' token
0_0_37818126_5646.cpp:26:20: error: expected ')' before ':' token
0_0_37818126_5646.cpp:26:20: error: expected primary-expression before ':' token
0_0_37818126_5646.cpp:36:13: error: expected unqualified-id before '[' token
    for(auto [j,k]:stats[i]){
             ^
0_0_37818126_5646.cpp:36:13: error: expected ';' before '[' token
0_0_37818126_5646.cpp:36:14: error: 'j' was not declared in this scope
    for(auto [j,k]:stats[i]){
              ^
0_0_37818126_5646.cpp:36:16: error: 'k' was not declared in this scope
    for(auto [j,k]:stats[i]){
                ^
0_0_37818126_5646.cpp: In lambda function:
0_0_37818126_5646.cpp:36:18: error: expected '{' before ':' token
    for(auto [j,k]:stats[i]){
                  ^
0_0_37818126_5646.cpp: In function 'int main()':
0_0_37818126_5646.cpp:36:18: error: expected ';' before ':' token
0_0_37818126_5646.cpp:36:18: error: expected primary-expression before ':' token
0_0_37818126_5646.cpp:36:18: error: expected ')' before ':' token
0_0_37818126_5646.cpp:36:18: error: expected primary-expression before ':' token
0_0_37818126_5646.cpp:55:13: error: expected unqualified-id before '[' token
    for(auto [j,k]:stats[i]) mn1=min(mn1,f[i][j][k]);
             ^
0_0_37818126_5646.cpp:55:13: error: expected ';' before '[' token
0_0_37818126_5646.cpp:55:14: error: 'j' was not declared in this scope
    for(auto [j,k]:stats[i]) mn1=min(mn1,f[i][j][k]);
              ^
0_0_37818126_5646.cpp:55:16: error: 'k' was not declared in this scope
    for(auto [j,k]:stats[i]) mn1=min(mn1,f[i][j][k]);
                ^
0_0_37818126_5646.cpp: In lambda function:
0_0_37818126_5646.cpp:55:18: error: expected '{' before ':' token
    for(auto [j,k]:stats[i]) mn1=min(mn1,f[i][j][k]);
                  ^
0_0_37818126_5646.cpp: In function 'int main()':
0_0_37818126_5646.cpp:55:18: error: expected ';' before ':' token
0_0_37818126_5646.cpp:55:18: error: expected primary-expression before ':' token
0_0_37818126_5646.cpp:55:18: error: expected ')' before ':' token
0_0_37818126_5646.cpp:55:18: error: expected primary-expression before ':' token


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 18:56:30, Gzip enabled