結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
tmsb
|
| 提出日時 | 2018-10-23 00:22:33 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 249 bytes |
| コンパイル時間 | 925 ms |
| コンパイル使用メモリ | 28,928 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-19 03:57:32 |
| 合計ジャッジ時間 | 739 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 WA * 2 |
ソースコード
#include <stdio.h>
#define N 9
int main(void)
{
int i, result = 0;
int arr[N];
for(i = 1; i < N; i++){
scanf("%d", &arr[i - 1]);
if(arr[i - 1] != i && result < 1){
result = i;
}
}
printf("%d\n", result);
return 0;
}
tmsb