Borderou de evaluare (job #1707547)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 25 mai 2016 14:28:26
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘std::vector<int> ms(int, int)’: user.cpp:29:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size () || j < b.size ()) ^ user.cpp:29:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size () || j < b.size ()) ^ user.cpp:31:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i < a.size () && (j == b.size () || a[i] < b[j])) ^ user.cpp:31:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i < a.size () && (j == b.size () || a[i] < b[j])) ^ user.cpp: In function ‘int main()’: user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("algsort.in", "r", stdin); ^ user.cpp:43:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("algsort.out", "w", stdout); ^ user.cpp:46:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms280kbOK520
20ms272kbOK5
30ms276kbOK5
40ms280kbOK5
50ms292kbOK520
60ms292kbOK5
70ms292kbOK5
80ms296kbOK5
9156ms1564kbOK520
10144ms1560kbOK5
11140ms1564kbOK5
12148ms1564kbOK5
13568ms4956kbOK520
14508ms4956kbOK5
15508ms4956kbOK5
16540ms4956kbOK5
17764ms6128kbOK520
18692ms6128kbOK5
19676ms6128kbOK5
20732ms6128kbOK5
Punctaj total100

Ceva nu functioneaza?