Borderou de evaluare (job #2242740)
Utilizator | Data | 19 septembrie 2018 13:54:47 | |
---|---|---|---|
Problema | Pescari | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:79: error: expected unqualified-id before string constant
FILE *fin = freopen("pescar.in","r",stdin); FILE *fout = freopen("pescar.out"."w",stdout);
^~~
user.cpp: In function ‘void ReadInput()’:
user.cpp:29:23: error: ‘class std::queue<std::pair<int, int> >’ has no member named ‘push_back’
coada.push_back(std::make_pair(i,j));
^~~~~~~~~
user.cpp: In function ‘void Lee()’:
user.cpp:39:5: error: expected initializer before ‘}’ token
}
^
user.cpp: In function ‘int main()’:
user.cpp:47:17: error: ‘PrintOutput’ was not declared in this scope
PrintOutput();
^
user.cpp: In function ‘void ReadInput()’:
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:27:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&harta[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !