Borderou de evaluare (job #3199758)
Utilizator | Data | 2 februarie 2024 17:05:30 | |
---|---|---|---|
Problema | Ratina | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:15:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
15 | for(long long i=1;i<=M;i++)
| ^~~
main.cpp:17:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17 | put[0]=1;
| ^~~
main.cpp:22:27: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(long long j=1;j<strlen(b[i]);j++)
| ~^~~~~~~~~~~~~
main.cpp:40:32: error: 'has1' was not declared in this scope; did you mean 'hash1'?
40 | if(hash1[r[i]][t]!=has1[r[i+1][t])
| ^~~~
| hash1
main.cpp:40:43: error: invalid types 'long long int[long long int]' for array subscript
40 | if(hash1[r[i]][t]!=has1[r[i+1][t])
| ^
main.cpp:40:46: error: expected ']' before ')' token
40 | if(hash1[r[i]][t]!=has1[r[i+1][t])
| ^
| ]
main.cpp:51:2: error: expected '}' at end of input
51 | }
| ^
main.cpp:12:1: note: to match this '{'
12 | {cin>>N>>M;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !