/ 大熊 /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:2: error: 'cin' was not declared in this scope
  cin >> n;
  ^~~
/in/foo.cc:10:2: note: suggested alternative: 'main'
  cin >> n;
  ^~~
  main
/in/foo.cc:16:4: error: 'cout' was not declared in this scope
    cout << stu[i].second.first << ' ' << stu[i].first << ' ' << stu[i].second.second << endl;
    ^~~~
/in/foo.cc:16:89: error: 'endl' was not declared in this scope
    cout << stu[i].second.first << ' ' << stu[i].first << ' ' << stu[i].second.second << endl;
                                                                                         ^~~~
/in/foo.cc:16:89: note: suggested alternative: 'enum'
    cout << stu[i].second.first << ' ' << stu[i].first << ' ' << stu[i].second.second << endl;
                                                                                         ^~~~
                                                                                         enum

信息

递交者
类型
自测
题目
哲学家熊老师
语言
C++
递交时间
2018-11-08 20:18:55
评测时间
2018-11-08 20:18:55
评测机
分数
0
总耗时
279ms
峰值内存
28.441 MiB