Pagini recente » Borderou de evaluare (job #486058) | Borderou de evaluare (job #676369) | Borderou de evaluare (job #2394856) | Borderou de evaluare (job #1184879) | Borderou de evaluare (job #2447598)
Borderou de evaluare (job #2447598)
Raport evaluator
Compilare:
main.cpp: In function 'Array cmlsc(Array&, Array&)':
main.cpp:38:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a.size(); i++)
~~^~~~~~~~~~
main.cpp:39: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:59: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:55: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:56: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 | Killed by Signal 11 | 0 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 2ms | 131kb | Killed by Signal 11 | 0 |
4 | 4ms | 262kb | Killed by Signal 11 | 0 |
5 | 3ms | 393kb | Killed by Signal 11 | 0 |
6 | 14ms | 1703kb | Killed by Signal 11 | 0 |
7 | 29ms | 3801kb | Killed by Signal 11 | 0 |
8 | 30ms | 3801kb | Killed by Signal 11 | 0 |
9 | 31ms | 4325kb | Killed by Signal 11 | 0 |
10 | 21ms | 3407kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |