Submission #763730


Source Code Expand

#include <stdio.h>
#include<math.h>

int main(void)
{
	int X,ans;
	scanf("%d",&X);
	ans=sqrt(sqrt(X));
	printf("%d\n",ans);
	return 0;
}

Submission Info

Submission Time
Task B - エージェント高橋君
User RegFo
Language C (GCC 5.4.1)
Score 100
Code Size 146 Byte
Status AC
Exec Time 3 ms
Memory 128 KiB

Compile Error

./Main.c: In function ‘main’:
./Main.c:7:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&X);
  ^

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 13
Set Name Test Cases
Sample example_0.txt, example_1.txt, example_2.txt
All example_0.txt, example_1.txt, example_2.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
Case Name Status Exec Time Memory
example_0.txt AC 2 ms 128 KiB
example_1.txt AC 2 ms 128 KiB
example_2.txt AC 2 ms 128 KiB
random_0.txt AC 2 ms 128 KiB
random_1.txt AC 2 ms 128 KiB
random_2.txt AC 2 ms 128 KiB
random_3.txt AC 3 ms 128 KiB
random_4.txt AC 2 ms 128 KiB
random_5.txt AC 2 ms 128 KiB
random_6.txt AC 2 ms 128 KiB
random_7.txt AC 2 ms 128 KiB
random_8.txt AC 2 ms 128 KiB
random_9.txt AC 2 ms 128 KiB