結果
問題 |
No.1636 森
|
ユーザー |
![]() |
提出日時 | 2025-03-11 15:17:52 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 113 bytes |
コンパイル時間 | 333 ms |
コンパイル使用メモリ | 23,936 KB |
実行使用メモリ | 7,324 KB |
最終ジャッジ日時 | 2025-03-11 15:17:54 |
合計ジャッジ時間 | 1,654 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 20 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:6:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%d",&n); | ^~~~~~~~~~~~~~
ソースコード
#include <stdio.h> void main(void){ int n; scanf("%d",&n); printf("%d",(n-1)*(n-1)); }