Pagini recente » Borderou de evaluare (job #2888417) | Borderou de evaluare (job #957009) | Borderou de evaluare (job #2259169) | Borderou de evaluare (job #1550474) | Borderou de evaluare (job #2155613)
Borderou de evaluare (job #2155613)
Raport evaluator
Compilare:
user.cpp: In function ‘bool task1()’:
user.cpp:21:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return result.back() < 2e9 + 1 && result.size() == slut; }
^
user.cpp: In function ‘bool task2()’:
user.cpp:33:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < result.size() && !flag; ++i)
^
user.cpp:35:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (fib(fib(result[i - 1], i > 1 ? result[i - 2] : 0), result[i]) < (i + 1 < result.size() ? result[i + 1] : 2e9 + 1)) {
^
user.cpp:49:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return result.back() < 2e9 + 1 && result.size() == slut; }
^
user.cpp: In function ‘int main()’:
user.cpp:59:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &i);
^
user.cpp:77:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < result.size(); ++i)
^
user.cpp:78:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
printf("%d%c", result[i], " \n"[i == result.size() - 1]);
^
user.cpp:78:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}’ [-Wformat=]
printf("%d%c", result[i], " \n"[i == result.size() - 1]);
^
In file included from /usr/include/c++/5/cassert:43:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:33,
from user.cpp:1:
user.cpp:81:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(result.size() == slut);
^
user.cpp:53:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi5.in", "r", stdin); // sa folosesti stdio cu stl e ca si cum ai trage caruta cu veyronul.
^
user.cpp:54:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi5.out", "w", stdout);
^
user.cpp:56:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &tsk, &n, &k);
^
user.cpp:59:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1228kb | Killed by signal 6(SIGABRT). | 0 |
2 | 0ms | 1224kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 1228kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 1228kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 1224kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 1232kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 1228kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 1224kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 1232kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 1280kb | Lungimi invalide in OUTPUT | 0 |
11 | 0ms | 1280kb | Lungimi invalide in OUTPUT | 0 |
12 | 0ms | 1280kb | Lungimi invalide in OUTPUT | 0 |
13 | 0ms | 1280kb | Lungimi invalide in OUTPUT | 0 |
14 | 0ms | 1284kb | Lungimi invalide in OUTPUT | 0 |
15 | 0ms | 1228kb | Killed by signal 6(SIGABRT). | 0 |
16 | 0ms | 1224kb | Killed by signal 6(SIGABRT). | 0 |
17 | 0ms | 1228kb | Killed by signal 6(SIGABRT). | 0 |
18 | 0ms | 1280kb | Lungimi invalide in OUTPUT | 0 |
19 | 0ms | 1284kb | Lungimi invalide in OUTPUT | 0 |
20 | 0ms | 1280kb | Lungimi invalide in OUTPUT | 0 |
Punctaj total | 0 |