結果
| 問題 |
No.77 レンガのピラミッド
|
| コンテスト | |
| ユーザー |
👑 testestest
|
| 提出日時 | 2017-04-30 16:30:14 |
| 言語 | cLay (20241019-1) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 83 bytes |
| コンパイル時間 | 2,216 ms |
| コンパイル使用メモリ | 163,488 KB |
| 最終ジャッジ日時 | 2024-07-05 12:11:56 |
| 合計ジャッジ時間 | 2,920 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
warning: unknown type [error] for rd (reader) : n
warning: unknown type [error] for rd (reader) : a(n)
main.cpp:359:1: error: ‘a’ does not name a type
359 | a[210];
| ^
main.cpp:360:1: error: ‘s’ does not name a type
360 | s;
| ^
main.cpp:361:1: error: ‘n’ does not name a type
361 | n;
| ^
main.cpp: In function ‘int main()’:
main.cpp:365:6: error: ‘n’ was not declared in this scope
365 | rd(n);
| ^
main.cpp:366:6: error: ‘a’ was not declared in this scope
366 | rd(a(n));
| ^
main.cpp:370:7: error: ‘s’ was not declared in this scope
370 | s+=a[Nzj9Y0kE];
| ^
main.cpp:373:10: error: ‘s’ was not declared in this scope
373 | n=sqrt(s);
| ^
main.cpp:375:14: error: expected primary-expression before ‘?’ token
375 | s-=(a[j]<?j)<?n+n-j;
| ^
main.cpp:375:16: error: expected ‘:’ before ‘)’ token
375 | s-=(a[j]<?j)<?n+n-j;
| ^
| :
main.cpp:375:16: error: expected primary-expression before ‘)’ token
main.cpp:375:18: error: expected primary-expression before ‘?’ token
375 | s-=(a[j]<?j)<?n+n-j;
| ^
main.cpp:375:24: error: expected ‘:’ before ‘;’ token
375 | s-=(a[j]<?j)<?n+n-j;
| ^
| :
main.cpp:375:24: error: expected primary-expression before ‘;’ token
ソースコード
a[210],s,n;{rd(n,a(n));s+=a[0..n-1];n=sqrt(s);rep(j,2*n)s-=(a[j]<?j)<?n+n-j;wt(s);}
testestest