結果
| 問題 | No.480 合計 |
| コンテスト | |
| ユーザー |
Justinlam33
|
| 提出日時 | 2017-04-09 20:28:33 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 268µs | |
| コード長 | 112 bytes |
| 記録 | |
| コンパイル時間 | 78 ms |
| コンパイル使用メモリ | 38,936 KB |
| 実行使用メモリ | 9,868 KB |
| 最終ジャッジ日時 | 2026-10-03 09:25:21 |
| 合計ジャッジ時間 | 1,444 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
コンパイルメッセージ
main.cpp:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
4 | main(void){
| ^~~~
ソースコード
#include <stdio.h>
main(void){
int n;
scanf("%i",&n);
int sum=n;
while (n--){
sum+=n;
}
printf("%i\n",sum);
}
Justinlam33