Borderou de evaluare (job #2684289)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 13 decembrie 2020 14:37:59
Problema Submat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:49: error: expected ')' before ';' token vector< vector<bool> > v(1003,vector<bool>(1003); ^ main.cpp:6:49: error: expected ')' before ';' token vector< vector<int> > s(1003,vector<int>(1003,0); ^ main.cpp: In function 'int main()': main.cpp:25:16: warning: unused variable 'x' [-Wunused-variable] int hmax=0,x=0; ^ main.cpp:10:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("submat.in","r",stdin); ^ main.cpp:11:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("submat.out","w",stdout); ^ main.cpp:14:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ main.cpp:19:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&val); ^ Non zero exit status: 1

Ceva nu functioneaza?