Submission #1753424


Source Code Expand

Copy
#include <stdio.h>

int main(void) {
    int a, b, c, d;
    scanf("%d%d%d%d", &a, &b, &c, &d);
    printf("%d\n", a * 1728 + b * 144 + c * 12 + d);
    return 0;
}

Submission Info

Submission Time
Task B - 鉛筆
User madman6
Language C (GCC 5.4.1)
Score 200
Code Size 173 Byte
Status
Exec Time 1 ms
Memory 128 KB

Compile Error

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

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt
All 200 / 200 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
01.txt 1 ms 128 KB
02.txt 1 ms 128 KB
03.txt 1 ms 128 KB
04.txt 1 ms 128 KB
05.txt 1 ms 128 KB
06.txt 1 ms 128 KB
sample_01.txt 1 ms 128 KB
sample_02.txt 1 ms 128 KB
sample_03.txt 1 ms 128 KB