Submission #751859
Source Code Expand
#include <stdio.h>
int main()
{
int N, i;
unsigned long j;
scanf("%d", &N);
j = 10;
for (i = 0; i < N; i++){
j *= 10;
}
j += 7;
printf("%ld\n", j);
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - 数え上げ |
| User | d_a_i_m_ |
| Language | C (GCC 5.4.1) |
| Score | 0 |
| Code Size | 197 Byte |
| Status | WA |
| Exec Time | 2 ms |
| Memory | 128 KiB |
Compile Error
./Main.c: In function ‘main’:
./Main.c:8:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 0_000.txt, 0_001.txt, 0_002.txt |
| All | 0_000.txt, 0_001.txt, 0_002.txt, 1_003.txt, 1_004.txt, 1_005.txt, 1_006.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 0_000.txt | WA | 2 ms | 128 KiB |
| 0_001.txt | WA | 2 ms | 128 KiB |
| 0_002.txt | WA | 2 ms | 128 KiB |
| 1_003.txt | WA | 2 ms | 128 KiB |
| 1_004.txt | WA | 2 ms | 128 KiB |
| 1_005.txt | WA | 2 ms | 128 KiB |
| 1_006.txt | WA | 2 ms | 128 KiB |