/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:42:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     for(auto t : x){
         ^
foo.cpp:42:14: error: 't' does not name a type
     for(auto t : x){
              ^
foo.cpp:46:1: error: expected ';' before '}' token
 }
 ^
foo.cpp:46:1: error: expected primary-expression before '}' token
foo.cpp:46:1: error: expected ';' before '}' token
foo.cpp:46:1: error: expected primary-expression before '}' token
foo.cpp:46:1: error: expected ')' before '}' token
foo.cpp:46:1: error: expected primary-expression before '}' token
foo.cpp:46:1: error: expected ';' before '}' token

信息

递交者
类型
递交
题目
P1903 学姐的实习工资
语言
C++
递交时间
2014-11-02 14:01:43
评测时间
2014-11-02 14:01:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes