Borderou de evaluare (job #2204097)
Utilizator | Data | 14 mai 2018 16:38:43 | |
---|---|---|---|
Problema | Piramid | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:1: error: ‘vector’ does not name a type
vector<int> elim[1005];
^~~~~~
user.cpp: In function ‘void proc(int, int)’:
user.cpp:30:21: error: ‘elim’ was not declared in this scope
for(auto it:elim[x]){
^~~~
user.cpp:33:9: error: ‘elim’ was not declared in this scope
elim[x].clear();
^~~~
user.cpp:55:21: error: ‘elim’ was not declared in this scope
for(auto it:elim[x]){
^~~~
user.cpp:58:9: error: ‘elim’ was not declared in this scope
elim[x].clear();
^~~~
user.cpp: In function ‘int main()’:
user.cpp:63:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&N);
^
user.cpp:65:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(C[i] + 1,1005,f);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !