結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
![]() |
提出日時 | 2018-12-09 00:17:48 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 45 ms / 2,000 ms |
コード長 | 197 bytes |
コンパイル時間 | 266 ms |
コンパイル使用メモリ | 27,776 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-14 18:03:59 |
合計ジャッジ時間 | 1,537 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 15 |
ソースコード
#include<stdio.h> int main(void){ int n, i=1; unsigned long long int sum=0, po; scanf("%d", &n); while(i<=n){ scanf("%llu", &po); sum += po; i++; } printf("%llu\n", sum); return 0; }