Borderou de evaluare (job #2184018)

Utilizator mihai.alphamihai craciun mihai.alpha Data 23 martie 2018 17:37:13
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:24: warning: left operand of comma operator has no effect [-Wunused-value] for(i = M, j = N;i > 0, j > 0;) { ~~^~~ user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in", "r", fin); ^ user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out", "w", fout); ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &M, &N); ^ user.cpp:20:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v1[i]); ^ user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v2[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1348kbRaspuns corect!10
20ms1380kbRaspuns corect!10
30ms1396kbRaspuns corect!10
40ms3536kbRaspuns corect!10
50ms3540kbRaspuns corect!10
64ms3504kbRaspuns corect!10
78ms5428kbRaspuns corect!10
88ms5016kbRaspuns corect!10
98ms5360kbRaspuns corect!10
108ms4576kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?