/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<iostream>
 ^
foo.cpp: In function 'int main()':
foo.cpp:10:1: error: 'cin' was not declared in this scope
 cin>>n;
 ^
foo.cpp:16:15: error: 'swap' was not declared in this scope
 swap(a[i],a[j]);
               ^
foo.cpp:25:1: error: 'cout' was not declared in this scope
 cout<<ans;
 ^

信息

递交者
类型
递交
题目
P1911 珠心算测验
语言
C++
递交时间
2016-05-21 10:20:27
评测时间
2016-05-21 10:20:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes