Borderou de evaluare (job #1516752)

Utilizator ralucaralucatintelecan raluca ralucaraluca Data 3 noiembrie 2015 15:19:11
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:14:16: error: empty character constant cout<<[i]<<''; ^ user.cpp:16:11: warning: multi-character character constant [-Wmultichar] cout<<'/n'<<s[n][m]; ^ user.cpp:3:12: error: variable ‘std::ifstream in’ has initializer but incomplete type ifstream in("cmlsc.in"); ^ user.cpp:4:13: error: variable ‘std::ofstream out’ has initializer but incomplete type ofstream out("cmlsc.out"); ^ user.cpp:6:1: error: expected initializer before ‘int’ int n,m,a[100],b[100],s[100][100]; ^ user.cpp:7:1: error: expected unqualified-id before ‘for’ for(i=1;i<=n;i++)cout<<a[i]; ^ user.cpp:7:9: error: ‘i’ does not name a type for(i=1;i<=n;i++)cout<<a[i]; ^ user.cpp:7:14: error: ‘i’ does not name a type for(i=1;i<=n;i++)cout<<a[i]; ^ user.cpp:8:1: error: expected unqualified-id before ‘for’ for(j=1;j<=m;j++)cout<<b[j]; ^ user.cpp:8:9: error: ‘j’ does not name a type for(j=1;j<=m;j++)cout<<b[j]; ^ user.cpp:8:14: error: ‘j’ does not name a type for(j=1;j<=m;j++)cout<<b[j]; ^ user.cpp:9:1: error: expected unqualified-id before ‘for’ for (int i=1;i<=n,i++) ^ user.cpp:9:14: error: ‘i’ does not name a type for (int i=1;i<=n,i++) ^ user.cpp:10:14: error: ‘j’ does not name a type for (int j=1;j<=m,j++) ^

Ceva nu functioneaza?