結果
問題 |
No.111 あばばばば
|
ユーザー |
👑 ![]() |
提出日時 | 2015-08-05 18:10:50 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 87 bytes |
コンパイル時間 | 80 ms |
コンパイル使用メモリ | 20,096 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-18 03:31:11 |
合計ジャッジ時間 | 566 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 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("%d",&a);a--; | ^~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(){ int a; scanf("%d",&a);a--; printf("%d",a*a); return 0; }