結果
問題 | No.254 文字列の構成 |
ユーザー | testestest |
提出日時 | 2017-06-17 18:27:51 |
言語 | cLay (20240104-1) |
結果 |
CE
|
実行時間 | - |
コード長 | 74 bytes |
コンパイル時間 | 1,306 ms |
コンパイル使用メモリ | 150,412 KB |
最終ジャッジ日時 | 2023-09-18 23:17:14 |
合計ジャッジ時間 | 2,066 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp:6:1: error: ‘m’ does not name a type; did you mean ‘tm’? m; ^ tm main.cpp:7:1: error: ‘s’ does not name a type s; ^ main.cpp:8:1: error: ‘i’ does not name a type i; ^ main.cpp: In function ‘int main()’: main.cpp:10:10: error: ‘m’ was not declared in this scope for(rd(m);m;s+=2){ ^ main.cpp:10:10: note: suggested alternative: ‘tm’ for(rd(m);m;s+=2){ ^ tm main.cpp:10:7: error: ‘rd’ was not declared in this scope for(rd(m);m;s+=2){ ^~ main.cpp:10:15: error: ‘s’ was not declared in this scope for(rd(m);m;s+=2){ ^ main.cpp:11:9: error: ‘i’ was not declared in this scope for(i=sqrt(m),m-=i*i,i*=2;--i;putchar(97+s+i%2)){ ^
ソースコード
m,s,i;{for(rd(m);m;s+=2)for(i=sqrt(m),m-=i*i,i*=2;--i;putchar(97+s+i%2));}