結果
| 問題 |
No.254 文字列の構成
|
| コンテスト | |
| ユーザー |
👑 testestest
|
| 提出日時 | 2017-06-17 18:27:51 |
| 言語 | cLay (20241019-1) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 74 bytes |
| コンパイル時間 | 1,227 ms |
| コンパイル使用メモリ | 162,660 KB |
| 最終ジャッジ日時 | 2024-07-05 12:16:55 |
| 合計ジャッジ時間 | 1,542 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、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