結果
問題 | 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 |
コンパイル時間 | 469 ms |
コンパイル使用メモリ | 64,176 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-21 09:16:05 |
合計ジャッジ時間 | 1,345 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 26 |
コンパイルメッセージ
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");}