Submission #1797709
Source Code Expand
#include <stdio.h> int main(int argc, char const *argv[]) { double n[3],m; for (size_t i = 0; i < 3; i++) { scanf("%lf%lf",&n[i],&m); n[i]=n[i]*(m/10); } printf("%f\n",n[0]+n[1]+n[2]); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - プロコン |
User | y1wtt |
Language | C (GCC 5.4.1) |
Score | 0 |
Code Size | 225 Byte |
Status | WA |
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("%lf%lf",&n[i],&m); ^
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_case-01.txt, sample_case-02.txt |
All | sample_case-01.txt, sample_case-02.txt, test-01.txt, test-02.txt, test-03.txt, test-04.txt, test-05.txt, test-06.txt, test-07.txt, test-08.txt, test-09.txt, test-10.txt, test-11.txt, test-12.txt, test-13.txt, test-14.txt, test-15.txt, test-16.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_case-01.txt | WA | 1 ms | 128 KB |
sample_case-02.txt | WA | 1 ms | 128 KB |
test-01.txt | WA | 1 ms | 128 KB |
test-02.txt | WA | 1 ms | 128 KB |
test-03.txt | WA | 1 ms | 128 KB |
test-04.txt | WA | 1 ms | 128 KB |
test-05.txt | WA | 1 ms | 128 KB |
test-06.txt | WA | 1 ms | 128 KB |
test-07.txt | WA | 1 ms | 128 KB |
test-08.txt | WA | 1 ms | 128 KB |
test-09.txt | WA | 1 ms | 128 KB |
test-10.txt | WA | 1 ms | 128 KB |
test-11.txt | WA | 1 ms | 128 KB |
test-12.txt | WA | 1 ms | 128 KB |
test-13.txt | WA | 1 ms | 128 KB |
test-14.txt | WA | 1 ms | 128 KB |
test-15.txt | WA | 1 ms | 128 KB |
test-16.txt | WA | 1 ms | 128 KB |