結果
問題 |
No.9005 実行時間/使用メモリテスト(テスト用)
|
ユーザー |
![]() |
提出日時 | 2016-03-15 03:41:16 |
言語 | C90 (gcc 12.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 126 ms |
コンパイル使用メモリ | 20,608 KB |
実行使用メモリ | 14,912 KB |
最終ジャッジ日時 | 2024-10-01 06:32:34 |
合計ジャッジ時間 | 8,501 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 4 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:5:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%d",&n); | ^~~~~~~~~~~~~~
ソースコード
#include<stdio.h> #define ll long long int int main(){ int n; scanf("%d",&n); ll mod=1443855263; ll x=234; ll i; ll t=1; for(i=0;i<mod-2;i++){ t*=x; if(t>=mod)t%=mod; if(t==1)printf("yes\n"); } printf("0\n"); return 0; }