結果
| 問題 |
No.1505 Zero-Product Ranges
|
| コンテスト | |
| ユーザー |
harurun
|
| 提出日時 | 2021-05-14 23:14:21 |
| 言語 | cLay (20241019-1) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 68 bytes |
| コンパイル時間 | 1,556 ms |
| コンパイル使用メモリ | 162,936 KB |
| 最終ジャッジ日時 | 2024-07-05 15:13:17 |
| 合計ジャッジ時間 | 2,026 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp:103:24: error: stray ‘@’ in program
103 | long long vector<int>@a(n);
| ^
main.cpp: In function ‘int main()’:
main.cpp:103:25: error: invalid declarator before ‘a’
103 | long long vector<int>@a(n);
| ^
main.cpp:105:8: error: ‘a’ was not declared in this scope
105 | if(a[i]){
| ^
ソースコード
ll b,c;{ll@n,VI@a(n);rep(i,n){if(a[i])b+=c;else{c=i+1;b+=c;}}wt(b);}
harurun