Borderou de evaluare (job #2447602)

Utilizator wilson182Alexandrina Panfil wilson182 Data 13 august 2019 21:37:15
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'Array cmlsc(Array&, Array&)': main.cpp:35:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a.size(); i++) ~~^~~~~~~~~~ main.cpp:36: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:58: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:48: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:49: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:52: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:54: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:55: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
12ms131kbRaspuns corect!10
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
43ms393kbKilled by Signal 110
53ms393kbKilled by Signal 110
610ms1703kbRaspuns corect!10
725ms3801kbKilled by Signal 110
826ms3801kbKilled by Signal 110
922ms4325kbKilled by Signal 110
1021ms3538kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?