結果
| 問題 |
No.111 あばばばば
|
| コンテスト | |
| ユーザー |
👑 testestest
|
| 提出日時 | 2015-08-05 18:11:13 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 89 bytes |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 20,096 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-18 03:31:12 |
| 合計ジャッジ時間 | 516 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 6 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
4 | scanf("%d",&a);a--;
| ^~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
int main(){
int a;
scanf("%d",&a);a--;
printf("%d",a*a/4);
return 0;
}
testestest