Submission #3019575
Source Code Expand
#include<stdio.h> int main(void){ int a,b,c; char s[102]; scanf("%d",&a); scanf("%d",&b); scanf("%d",&c); scanf("%s",s); printf("%d %s\n",a+b+c,s); }
Submission Info
Submission Time | |
---|---|
Task | PracticeA - Welcome to AtCoder |
User | kyousuke27 |
Language | C (GCC 5.4.1) |
Score | 100 |
Code Size | 188 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.c: In function ‘main’: ./Main.c:6:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^ ./Main.c:7:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b); ^ ./Main.c:8:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&c); ^ ./Main.c:9:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_rnd_01.txt, 00_rnd_02.txt, 00_rnd_03.txt, 00_rnd_04.txt, 00_rnd_05.txt, 00_sample_1.txt, 00_sample_2.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_rnd_01.txt | AC | 1 ms | 128 KB |
00_rnd_02.txt | AC | 1 ms | 128 KB |
00_rnd_03.txt | AC | 0 ms | 128 KB |
00_rnd_04.txt | AC | 0 ms | 128 KB |
00_rnd_05.txt | AC | 0 ms | 128 KB |
00_sample_1.txt | AC | 0 ms | 128 KB |
00_sample_2.txt | AC | 0 ms | 128 KB |