记录详情

Compile Error

/in/foo.cc: In function 'void dfs2(int)':
/in/foo.cc:6:37: error: 'typeof' was not declared in this scope
 #define FOR(i,v)  for(typeof(v.end())i=v.begin();i!=v.end();++i)
                                     ^
/in/foo.cc:26:5: note: in expansion of macro 'FOR'
     FOR(i,e[u])
     ^~~
/in/foo.cc:26:9: error: 'i' was not declared in this scope
     FOR(i,e[u])
         ^
/in/foo.cc:6:50: note: in definition of macro 'FOR'
 #define FOR(i,v)  for(typeof(v.end())i=v.begin();i!=v.end();++i)
                                                  ^
/in/foo.cc:6:37: error: 'typeof' was not declared in this scope
 #define FOR(i,v)  for(typeof(v.end())i=v.begin();i!=v.end();++i)
                                     ^
/in/foo.cc:31:5: note: in expansion of macro 'FOR'
     FOR(i,e[u])
     ^~~
/in/foo.cc:31:9: error: 'i' was not declared in this scope
     FOR(i,e[u])
         ^
/in/foo.cc:6:50: note: in definition of macro 'FOR'
 #define FOR(i,v)  for(typeof(v.end())i=v.begin();i!=v.end();++i)
                                                  ^

信息

递交者
类型
递交
题目
背单词
题目数据
下载
语言
C++
递交时间
2018-08-04 12:12:57
评测时间
2018-08-04 12:16:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes