結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
|
提出日時 | 2022-12-15 18:15:07 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 260 ms |
コンパイル使用メモリ | 30,336 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-14 08:49:00 |
合計ジャッジ時間 | 2,544 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 15 |
ソースコード
#include <stdio.h> int main () { long int n; long int goukei; goukei = 0; scanf("%d", &n); long int i; for(i=2; i<=n; i++) { printf("%d", n); goukei = goukei + n; printf("%d", goukei); } }