Submission #967357
Source Code Expand
#include<stdio.h> #include<cstdio> #include<iostream> #include<vector> #include<string> #include<algorithm> #include<queue> #include<stack> #include<map> #define rep0(i,N) for(int i=0;i<N;i++) #define rep1(i,a,N) for(int i=0+a;i<N;i++) #define lint long long int #define SIZE 100005 #define INF 1000000000 lint m[SIZE],n[SIZE]; using namespace std; int main(){ long double a,b,c; cin>>a>>b>>c; printf("%f",b*c/a); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - SDカード |
User | Aslan168 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 461 Byte |
Status | WA |
Exec Time | 3 ms |
Memory | 256 KB |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:25:19: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=] printf("%f",b*c/a); ^
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 00_example_01.txt, 00_example_02.txt |
All | 00_example_01.txt, 00_example_02.txt, 10_rand_01.txt, 10_rand_02.txt, 10_rand_03.txt, 10_rand_04.txt, 10_rand_05.txt, 10_rand_06.txt, 20_hand_01.txt, 20_hand_02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_example_01.txt | WA | 3 ms | 256 KB |
00_example_02.txt | WA | 3 ms | 256 KB |
10_rand_01.txt | WA | 3 ms | 256 KB |
10_rand_02.txt | WA | 3 ms | 256 KB |
10_rand_03.txt | WA | 3 ms | 256 KB |
10_rand_04.txt | WA | 3 ms | 256 KB |
10_rand_05.txt | WA | 3 ms | 256 KB |
10_rand_06.txt | WA | 3 ms | 256 KB |
20_hand_01.txt | WA | 3 ms | 256 KB |
20_hand_02.txt | WA | 3 ms | 256 KB |