結果
問題 |
No.1256 連続整数列
|
ユーザー |
![]() |
提出日時 | 2020-10-22 12:55:29 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 73 bytes |
コンパイル時間 | 475 ms |
コンパイル使用メモリ | 58,984 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-06-20 10:45:00 |
合計ジャッジ時間 | 1,576 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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?"YES":"NO");} | ^~~~
ソースコード
#include<iostream> main(){int a;std::cin>>a;std::cout<<(a-1?"YES":"NO");}