結果
| 問題 | No.1256 連続整数列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-07 09:54:36 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 220µs | |
| コード長 | 74 bytes |
| 記録 | |
| コンパイル時間 | 993 ms |
| コンパイル使用メモリ | 145,428 KB |
| 実行使用メモリ | 9,392 KB |
| 最終ジャッジ日時 | 2026-07-12 13:08:42 |
| 合計ジャッジ時間 | 2,686 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 40 |
コンパイルメッセージ
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | main(){int a;std::cin>>a;std::cout<<(a==1?"NO":"YES");}
| ^~~~
ソースコード
#include<iostream>
main(){int a;std::cin>>a;std::cout<<(a==1?"NO":"YES");}