Submission #6517293


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 183 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:11:22: error: invalid operands of types ‘const char [7]’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’
     cout <"<error" <<endl;
                      ^