/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:21:6: error: expected '(' before 'each'
  for each (byte i in road)
      ^
foo.cpp:21:17: error: expected primary-expression before 'i'
  for each (byte i in road)
                 ^
foo.cpp:21:26: error: 'each' was not declared in this scope
  for each (byte i in road)
                          ^
foo.cpp:22:2: error: expected ';' before '{' token
  {
  ^
foo.cpp:31:1: error: expected primary-expression at end of input
 }
 ^
foo.cpp:31:1: error: expected ';' at end of input
foo.cpp:31:1: error: expected primary-expression at end of input
foo.cpp:31:1: error: expected ')' at end of input
foo.cpp:31:1: error: expected statement at end of input
foo.cpp:31:1: error: expected '}' at end of input

信息

递交者
类型
递交
题目
P1103 校门外的树
语言
C++
递交时间
2014-07-18 17:58:48
评测时间
2014-07-18 17:58:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes