Borderou de evaluare (job #3288629)
Utilizator | Data | 23 martie 2025 12:54:31 | |
---|---|---|---|
Problema | Seqval | 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:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
12 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
14 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:26:44: error: expected ';' before ')' token
26 | smx=(smx+(long)i-st+dr-i)*i)%mod;
| ^
| ;
main.cpp:9:11: warning: unused variable 'a' [-Wunused-variable]
9 | int n,a;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !