Pagini recente » Borderou de evaluare (job #558890) | Borderou de evaluare (job #2378865) | Borderou de evaluare (job #1597152) | Borderou de evaluare (job #1132983) | Borderou de evaluare (job #2684851)
Borderou de evaluare (job #2684851)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:68:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &v[i]);
^
main.cpp:73:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < subsir.size(); i++)
~~^~~~~~~~~~~~~~~
main.cpp:75:32: 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 ", subsir[i]);
^
main.cpp:61:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in", "r", stdin);
^
main.cpp:62:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out", "w", stdout);
^
main.cpp:64:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:68:27: 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 |
1 | 3ms | 131kb | Subsir incorect! | 5 | 5 |
2 | 10ms | 262kb | Corect! | 10 | 10 |
3 | 2ms | 131kb | Lungime incorecta! | 0 | 0 |
4 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
5 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
6 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
7 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
8 | 49ms | 917kb | Lungime incorecta! | 0 | 0 |
9 | 44ms | 917kb | Lungime incorecta! | 0 |
10 | 47ms | 917kb | Lungime incorecta! | 0 |
Punctaj total | 15 |