結果

問題 No.1415 100の倍数かつ正整数(1)
ユーザー publfl
提出日時 2021-03-05 21:22:09
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 225 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 31,360 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-07 00:07:56
合計ジャッジ時間 969 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <string.h>

char x[110];
int main()
{
	scanf("%s",x+1);
	int a = strlen(x+1);
	int start = 1;
	if(x[start]=='-')
	{
		printf("0");
		return 0;
	}
	
	for(int i=start;i<=a-2;i++) printf("%c",x[i]);
}
0