Borderou de evaluare (job #2447664)

Utilizator wilson182Alexandrina Panfil wilson182 Data 14 august 2019 10:46:26
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'Array cmlsc(Array&, Array&)': main.cpp:45:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a.size(); i++) ~~^~~~~~~~~~ main.cpp:46:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < b.size(); j++) { ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:69:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", sol.size()); ^ main.cpp:58: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", stdin); ^ main.cpp:59: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", stdout); ^ main.cpp:62: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:64:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 0; i < n; i++) scanf("%d", &a[i]); ^ main.cpp:65:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 0; i < m; i++) scanf("%d", &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbLungime incorecta!0
22ms131kbLungime incorecta!0
32ms131kbLungime incorecta!0
44ms393kbKilled by Signal 110
54ms393kbLungime incorecta!0
613ms1703kbRaspuns corect!10
725ms3801kbLungime incorecta!0
826ms3801kbLungime incorecta!0
927ms4325kbRaspuns corect!10
1023ms3407kbRaspuns corect!10
Punctaj total30

Ceva nu functioneaza?