結果
| 問題 | No.254 文字列の構成 |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2017-06-17 18:27:51 |
| 言語 | cLay (20250308-1 + boost 1.89.0) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 74 bytes |
| 記録 | |
| コンパイル時間 | 1,489 ms |
| コンパイル使用メモリ | 177,228 KB |
| 最終ジャッジ日時 | 2026-03-26 20:21:26 |
| 合計ジャッジ時間 | 1,843 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp:6:1: error: ‘m’ does not name a type; did you mean ‘tm’?
6 | m;
| ^
| tm
main.cpp:7:1: error: ‘s’ does not name a type
7 | s;
| ^
main.cpp:8:1: error: ‘i’ does not name a type
8 | i;
| ^
main.cpp: In function ‘int main()’:
main.cpp:10:10: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
10 | for(rd(m);m;s+=2){
| ^
| tm
main.cpp:10:7: error: ‘rd’ was not declared in this scope
10 | for(rd(m);m;s+=2){
| ^~
main.cpp:10:15: error: ‘s’ was not declared in this scope
10 | for(rd(m);m;s+=2){
| ^
main.cpp:11:9: error: ‘i’ was not declared in this scope
11 | 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));}
testestest