結果
問題 | No.481 1から10 |
ユーザー | moririn2528_c |
提出日時 | 2017-02-23 21:44:32 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 160 bytes |
コンパイル時間 | 649 ms |
コンパイル使用メモリ | 59,044 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-01-02 18:51:00 |
合計ジャッジ時間 | 1,039 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
#include<iostream> using namespace std; int main(){ int a=0,b=1,s=10; for(int i=0;i<9;i++){ cin>>a; if(a!=b)s=b; b=a+1; } cout<<s<<endl; return 0; }