結果
| 問題 |
No.2479 Sum of Squares
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-09-22 21:22:45 |
| 言語 | cLay (20241019-1) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 83 bytes |
| コンパイル時間 | 1,927 ms |
| コンパイル使用メモリ | 165,944 KB |
| 最終ジャッジ日時 | 2024-07-08 12:01:15 |
| 合計ジャッジ時間 | 2,235 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:227:7: error: call of overloaded ‘wt_L(std::vector<long long int>::size_type)’ is ambiguous
227 | wt_L(a.size());
| ~~~~^~~~~~~~~~
main.cpp:72:13: note: candidate: ‘void wt_L(char)’
72 | inline void wt_L(const char a){
| ^~~~
main.cpp:75:13: note: candidate: ‘void wt_L(int)’
75 | inline void wt_L(int x){
| ^~~~
main.cpp:97:13: note: candidate: ‘void wt_L(unsigned int)’
97 | inline void wt_L(unsigned x){
| ^~~~
main.cpp:111:13: note: candidate: ‘void wt_L(long long int)’
111 | inline void wt_L(long long x){
| ^~~~
main.cpp:133:13: note: candidate: ‘void wt_L(long long unsigned int)’
133 | inline void wt_L(unsigned long long x){
| ^~~~
main.cpp:154:13: note: candidate: ‘void wt_L(double)’
154 | inline void wt_L(double x){
| ^~~~
ソースコード
ll@N;vector<ll> a{};while(N){ll n=sqrt(N);a.push_back(n);N-=n;}wt(a.size());
wt(a);