Submission #00090
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #include<bits/stdc++.h> using namespace std; #define endl "\n" #define ll long long #define fix(ans,x) fixed << setprecision(x)<<(double)ans #define total(n) n*(n+1)/2 #define sex(i, set) for(auto i = set.begin(); i != set.end(); i++) int main() { int ans,w,h,c; cin>>w>>h>>c; ans = w % h; cout<<((w/ans) * (h/ans)) *c<<endl; return (0); } |
ステータス
項目 | データ |
---|---|
問題 | 0002 - ニュータウン |
ユーザー名 | ei2132 |
投稿日時 | 2022-07-19 17:04:36 |
言語 | C++17 |
状態 | Runtime Error |
得点 | 0 |
ソースコード長 | 376 Byte |
最大実行時間 | 68 ms |
最大メモリ使用量 | 648 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 0 / 2 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in01.txt | AC | 19 ms | 476 KB |
1
|
in02.txt | AC | 29 ms | 572 KB |
1
|
in03.txt | RE | 68 ms | 544 KB |
1
|
in04.txt | AC | 24 ms | 648 KB |
1
|
in05.txt | WA | 30 ms | 616 KB |
1
|
in06.txt | RE | 35 ms | 592 KB |
1
|
in07.txt | AC | 14 ms | 564 KB |
1
|
in08.txt | AC | 17 ms | 536 KB |
1
|
in09.txt | AC | 23 ms | 512 KB |
1
|
in10.txt | AC | 21 ms | 612 KB |
1
|
in11.txt | WA | 23 ms | 584 KB |
1
|
in12.txt | WA | 20 ms | 560 KB |
1
|
in13.txt | WA | 23 ms | 532 KB |
1
|
in14.txt | WA | 23 ms | 504 KB |
1
|
in15.txt | WA | 24 ms | 596 KB |
1
|
in16.txt | WA | 18 ms | 568 KB |
1
|
in17.txt | RE | 34 ms | 544 KB |
1
|