結果
| 問題 | No.481 1から10 |
| コンテスト | |
| ユーザー |
Justinlam33
|
| 提出日時 | 2017-04-09 02:00:39 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 116 bytes |
| 記録 | |
| コンパイル時間 | 321 ms |
| コンパイル使用メモリ | 39,072 KB |
| 実行使用メモリ | 46,916 KB |
| 最終ジャッジ日時 | 2026-04-01 15:13:10 |
| 合計ジャッジ時間 | 1,044 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 WA * 1 |
コンパイルメッセージ
main.cpp:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
3 | main(void){
| ^~~~
ソースコード
#include <stdio.h>
main(void){
int b;
for (int i=1;i<10;i++)
{scanf("%i",&b);
if (b!=i){printf("%i",i); break;}
}
}
Justinlam33