/ OPS /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:3:2: error: 'cin' was not declared in this scope
  cin >> n;
  ^
/in/foo.cc:8:30: error: 'abs' was not declared in this scope
  if (abs(arr1[0] - arr2[0]+26)%26 == abs(arr1[1] - arr2[1]+26)%26) {
                              ^
/in/foo.cc:15:4: error: 'cout' was not declared in this scope
    cout << arr3[j];
    ^
/in/foo.cc:17:3: error: 'cout' was not declared in this scope
   cout << endl;
   ^
/in/foo.cc:17:11: error: 'endl' was not declared in this scope
   cout << endl;
           ^
/in/foo.cc:20:30: error: 'abs' was not declared in this scope
  if (abs(arr2[0] - arr3[0]+26)%26 == abs(arr2[1] - arr3[1]+26)%26) {
                              ^
/in/foo.cc:27:4: error: 'cout' was not declared in this scope
    cout << arr1[j];
    ^
/in/foo.cc:29:3: error: 'cout' was not declared in this scope
   cout << endl;
   ^
/in/foo.cc:29:11: error: 'endl' was not declared in this scope
   cout << endl;
           ^
/in/foo.cc:32:30: error: 'abs' was not declared in this scope
  if (abs(arr3[0] - arr1[0]+26)%26 == abs(arr3[1] - arr1[1]+26)%26) {
                              ^
/in/foo.cc:39:4: error: 'cout' was not declared in this scope
    cout << arr2[j];
    ^
/in/foo.cc:41:3: error: 'cout' was not declared in this scope
   cout << endl;
   ^
/in/foo.cc:41:11: error: 'endl' was not declared in this scope
   cout << endl;
           ^

信息

递交者
类型
递交
题目
P3466 字符串还原
语言
C++
递交时间
2020-08-14 16:16:21
评测时间
2020-08-14 16:16:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes