Submission #6517289


Source Code Expand

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b;
  cin >>a >>b;
  if(a+b <10){
    cout << a+b <<endl;
  }
  else {
    cout <<error <<endl;
  }
}

Submission Info

Submission Time
Task A - Restricted
User newsnkn053
Language C++14 (GCC 5.4.1)
Score 0
Code Size 181 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:11:12: error: ‘error’ was not declared in this scope
     cout <<error <<endl;
            ^