Pagini recente » Borderou de evaluare (job #3224209) | Borderou de evaluare (job #2331996) | Borderou de evaluare (job #3127904) | Borderou de evaluare (job #1744874) | Borderou de evaluare (job #1784881)
Borderou de evaluare (job #1784881)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 2; i < v.size(); i++) {
^
user.cpp:44:26: 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", d.back());
^
user.cpp:10:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, x;
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("emax.in", "r", stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("emax.out", "w", stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | Incorect | 0 | 0 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 376kb | Incorect | 0 | 0 |
5 | 4ms | 400kb | Incorect | 0 |
6 | 16ms | 760kb | Incorect | 0 |
7 | 16ms | 400kb | Incorect | 0 | 0 |
8 | 20ms | 764kb | Incorect | 0 |
9 | 16ms | 396kb | Incorect | 0 |
10 | 24ms | 764kb | Incorect | 0 |
Punctaj total | 0 |