結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-03-16 10:20:14 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 128 bytes |
| コンパイル時間 | 107 ms |
| コンパイル使用メモリ | 21,248 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-01 22:22:22 |
| 合計ジャッジ時間 | 864 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:14: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
8 | printf("%d,ans");
| ~^
| |
| int
ソースコード
#include <stdio.h>
int main() {
for(int ans,N,i; N = 0; i++) {
ans += i;
N--;
}
printf("%d,ans");
}