結果
問題 | No.111 あばばばば |
ユーザー |
👑 ![]() |
提出日時 | 2015-08-05 18:12:07 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 103 bytes |
コンパイル時間 | 69 ms |
コンパイル使用メモリ | 19,968 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-18 03:31:12 |
合計ジャッジ時間 | 504 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
コンパイルメッセージ
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("%lld",&a);a--; | ^~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(){ long long int a; scanf("%lld",&a);a--; printf("%lld",a*a/4); return 0; }