Pagini recente » Borderou de evaluare (job #753135) | Borderou de evaluare (job #3171875) | Borderou de evaluare (job #2832702) | Borderou de evaluare (job #11660) | Borderou de evaluare (job #2447664)
Borderou de evaluare (job #2447664)
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 |
1 | 2ms | 131kb | Lungime incorecta! | 0 |
2 | 2ms | 131kb | Lungime incorecta! | 0 |
3 | 2ms | 131kb | Lungime incorecta! | 0 |
4 | 4ms | 393kb | Killed by Signal 11 | 0 |
5 | 4ms | 393kb | Lungime incorecta! | 0 |
6 | 13ms | 1703kb | Raspuns corect! | 10 |
7 | 25ms | 3801kb | Lungime incorecta! | 0 |
8 | 26ms | 3801kb | Lungime incorecta! | 0 |
9 | 27ms | 4325kb | Raspuns corect! | 10 |
10 | 23ms | 3407kb | Raspuns corect! | 10 |
Punctaj total | 30 |