結果
| 問題 |
No.1256 連続整数列
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-07 09:54:36 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 74 bytes |
| コンパイル時間 | 814 ms |
| コンパイル使用メモリ | 76,904 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2025-06-20 11:10:08 |
| 合計ジャッジ時間 | 1,672 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?"NO":"YES");}
| ^~~~
ソースコード
#include<iostream>
main(){int a;std::cin>>a;std::cout<<(a==1?"NO":"YES");}