Pagini recente » Borderou de evaluare (job #2918780) | Borderou de evaluare (job #2223728) | Borderou de evaluare (job #839175) | Borderou de evaluare (job #1082890) | Borderou de evaluare (job #2483031)
Borderou de evaluare (job #2483031)
Raport evaluator
Compilare:
main.cpp: In function 'int lcs()':
main.cpp:9:9: warning: unused variable 'd' [-Wunused-variable]
int d;
^
main.cpp: In function 'int main()':
main.cpp:32:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d %d", &m, &n);
^
main.cpp:32:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
main.cpp:33:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'unsigned char*' [-Wformat=]
for(i=1;i<=m;i++){ scanf("%d", &x[i]);c[i][0]=0;}
^
main.cpp:35:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'unsigned char*' [-Wformat=]
for(i=1;i<=n;i++){ scanf("%d", &y[i]); c[0][i]=0;}
^
main.cpp:28:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in", "r", stdin);
^
main.cpp:29:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out", "w", stdout);
^
main.cpp:32:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &m, &n);
^
main.cpp:33:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++){ scanf("%d", &x[i]);c[i][0]=0;}
^
main.cpp:35:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++){ scanf("%d", &y[i]); c[0][i]=0;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Lungime incorecta! | 0 |
2 | 2ms | 131kb | Lungime incorecta! | 0 |
3 | 2ms | 131kb | Lungime incorecta! | 0 |
4 | 2ms | 131kb | Lungime incorecta! | 0 |
5 | 2ms | 131kb | Lungime incorecta! | 0 |
6 | 2ms | 131kb | Lungime incorecta! | 0 |
7 | 2ms | 131kb | Lungime incorecta! | 0 |
8 | 3ms | 131kb | Lungime incorecta! | 0 |
9 | 3ms | 131kb | Lungime incorecta! | 0 |
10 | 3ms | 131kb | Lungime incorecta! | 0 |
Punctaj total | 0 |