Borderou de evaluare (job #2483081)

Utilizator OvidRata Ovidiu Ovid Data 29 octombrie 2019 11:46:20
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d %d", &m, &n); ^ main.cpp:34:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:35: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; s[i][0]="";} ^ main.cpp:37: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; s[0][i]="";} ^ 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:34: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:35: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; s[i][0]="";} ^ main.cpp:37: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; s[0][i]="";} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
142ms20496kbMemory limit exceeded0
237ms20496kbMemory limit exceeded0
342ms20496kbMemory limit exceeded0
442ms20496kbMemory limit exceeded0
545ms20496kbMemory limit exceeded0
652ms20496kbMemory limit exceeded0
733ms20496kbMemory limit exceeded0
839ms20496kbMemory limit exceeded0
929ms20496kbMemory limit exceeded0
1044ms20496kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?