Submission #00325
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 | #include<stdio.h> int main(){ float ansA,ansB; int a,b,c; scanf ( "%f %f" ,&a,&b); scanf ( "%f" ,&c); ansA=a*b; ansB=a*b*c/100; ans=(a*b)/100; printf ( "%2f\n" ,ansA,ansB); return (0); } |
ステータス
項目 | データ |
---|---|
問題 | 0002 - 派遣 |
ユーザー名 | crom |
投稿日時 | 2017-04-28 17:57:57 |
言語 | C++11 |
状態 | Compile Error |
得点 | 0 |
ソースコード長 | 207 Byte |
最大実行時間 | - |
最大メモリ使用量 |
コンパイルメッセージ
./Main.cpp: In function ‘int main()’: ./Main.cpp:9:3: error: ‘ans’ was not declared in this scope ans=(a*b)/100; ^
セット
セット | 得点 | Cases |
---|
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|