Submission #1366596


Source Code Expand

#include <stdio.h>
#include <stdlib.h>

int main() {

	char kaz1[100]="";
	char kaz2[100]="";

	gets( kaz1 );
	gets( kaz2 );

	if( atol(kaz1) > atol(kaz2))
		printf( "%s",kaz1);
	else
		printf( "%s",kaz1);

	printf( "\n" );

	return 0;
}

Submission Info

Submission Time
Task A - 正直者
User unirita200
Language C++14 (GCC 5.4.1)
Score 0
Code Size 258 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:9:13: error: ‘gets’ was not declared in this scope
  gets( kaz1 );
             ^