Submission #8464693


Source Code Expand

Copy
#include <cstdio>

using namespace std;

int main() {
  int r;
  scanf("%d", &r);
  printf("%d\n", r * r);
}

Submission Info

Submission Time
Task A - Circle
User fragusbot
Language C++14 (GCC 5.4.1)
Score 100
Code Size 118 Byte
Status AC
Exec Time 1 ms
Memory 128 KB

Compile Error

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

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 18
Set Name Test Cases
Sample sample_01, sample_02
All random_01, random_02, random_03, random_04, random_05, random_06, random_07, random_08, random_09, random_10, random_11, random_12, random_13, random_14, random_15, random_16, sample_01, sample_02
Case Name Status Exec Time Memory
random_01 AC 1 ms 128 KB
random_02 AC 1 ms 128 KB
random_03 AC 1 ms 128 KB
random_04 AC 1 ms 128 KB
random_05 AC 1 ms 128 KB
random_06 AC 1 ms 128 KB
random_07 AC 1 ms 128 KB
random_08 AC 1 ms 128 KB
random_09 AC 1 ms 128 KB
random_10 AC 1 ms 128 KB
random_11 AC 1 ms 128 KB
random_12 AC 1 ms 128 KB
random_13 AC 1 ms 128 KB
random_14 AC 1 ms 128 KB
random_15 AC 1 ms 128 KB
random_16 AC 1 ms 128 KB
sample_01 AC 1 ms 128 KB
sample_02 AC 1 ms 128 KB