Submission #1370228


Source Code Expand

#include<iostream>
#include<string>
using namespace std;
int main(){
	int a,b;
	cin>>a,b;
	a=a+b;
	cout<<a%24<<endl;
	
}

Submission Info

Submission Time
Task A - Remaining Time
User Athena
Language C++14 (GCC 5.4.1)
Score 0
Code Size 131 Byte
Status CE

Compile Error

./Main.cpp:5:2: error: stray ‘\357’ in program
  int a,b;
  ^
./Main.cpp:5:2: error: stray ‘\275’ in program
./Main.cpp:5:2: error: stray ‘\202’ in program
./Main.cpp: In function ‘int main()’:
./Main.cpp:5:11: error: expected unqualified-id before ‘;’ token
  int a,b;
           ^
./Main.cpp:6:9: error: ‘b’ was not declared in this scope
  cin>>a,b;
         ^