結果
問題 |
No.80 四角形を描こう
|
ユーザー |
![]() |
提出日時 | 2015-02-09 02:01:37 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 163 bytes |
コンパイル時間 | 386 ms |
コンパイル使用メモリ | 54,948 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-08 03:59:36 |
合計ジャッジ時間 | 907 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 8 |
ソースコード
#include <iostream> using namespace std; int main() { int n; while (cin>>n) { int x=n/4; int r=n%4/2; cout<<x*(x+r)<<endl; } }