提出 #950327


ソースコード 拡げる

#include<stdio.h>
int main()
{
	int a, b, c, d, n;
	scanf("%d %d %d",&a, &b, &c);
	d=2*(a*b+b*c+a*c);
	printf("%d\n",d);
	return 0;
}

提出情報

提出日時
問題 A - 高橋直体
ユーザ kouki0315
言語 C++14 (GCC 5.4.1)
得点 100
コード長 141 Byte
結果 AC
実行時間 1 ms
メモリ 128 KiB

コンパイルエラー

./Main.cpp: In function ‘int main()’:
./Main.cpp:5:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d",&a, &b, &c);
                              ^

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 4
AC × 14
セット名 テストケース
Sample example_0.txt, example_1.txt, example_2.txt, example_3.txt
All example_0.txt, example_1.txt, example_2.txt, example_3.txt, random_0.txt, random_1.txt, random_2.txt, random_3.txt, random_4.txt, random_5.txt, random_6.txt, random_7.txt, random_8.txt, random_9.txt
ケース名 結果 実行時間 メモリ
example_0.txt AC 1 ms 128 KiB
example_1.txt AC 1 ms 128 KiB
example_2.txt AC 1 ms 128 KiB
example_3.txt AC 1 ms 128 KiB
random_0.txt AC 1 ms 128 KiB
random_1.txt AC 1 ms 128 KiB
random_2.txt AC 1 ms 128 KiB
random_3.txt AC 1 ms 128 KiB
random_4.txt AC 1 ms 128 KiB
random_5.txt AC 1 ms 128 KiB
random_6.txt AC 1 ms 128 KiB
random_7.txt AC 1 ms 128 KiB
random_8.txt AC 1 ms 128 KiB
random_9.txt AC 1 ms 128 KiB