結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
![]() |
提出日時 | 2017-08-04 17:26:50 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 265 bytes |
コンパイル時間 | 391 ms |
コンパイル使用メモリ | 53,876 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-10-11 20:51:18 |
合計ジャッジ時間 | 4,301 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 TLE * 1 |
other | -- * 15 |
ソースコード
#include <iostream> using namespace std; int main() { long sum; int first; cin >> first; while(1){ int x; cin >> x; sum = sum + x; if(cin.eof()) break; } cout << "sum\n" << endl; return 0; }