Borderou de evaluare (job #2862979)
Utilizator | Data | 6 martie 2022 10:36:54 | |
---|---|---|---|
Problema | Numere 5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import<iostream>
| ^~~~~~
main.cpp:2:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
2 | #import<algorithm>
| ^~~~~~
main.cpp:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
3 | #import<bitset>
| ^~~~~~
main.cpp:6:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
6 | main()
| ^~~~
main.cpp: In function 'int main()':
main.cpp:22:13: error: 'a' was not declared in this scope
22 | a[x]=1;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !