結果
問題 |
No.480 合計
|
ユーザー |
|
提出日時 | 2023-05-04 06:15:55 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 157 bytes |
コンパイル時間 | 321 ms |
コンパイル使用メモリ | 30,592 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-22 02:00:16 |
合計ジャッジ時間 | 1,343 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 22 |
ソースコード
#include <stdio.h> int main(void) { int num=0; int sum=0; scanf("%d",&num); for(int i=1;i<num;i++){ sum+=i; } printf("%d",sum); return 0; }