Pagini recente » Borderou de evaluare (job #2075178) | Borderou de evaluare (job #1287561) | Borderou de evaluare (job #2429144) | Borderou de evaluare (job #1921571) | Borderou de evaluare (job #1293643)
Borderou de evaluare (job #1293643)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Solution::scmax(std::vector<int>&)’:
user.cpp:23:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); i++) {
^
user.cpp:42:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sol.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:49:31: 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);
^
user.cpp:50:33: 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);
^
user.cpp:52:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:55:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 452kb | Corect! | 10 | 10 |
2 | 0ms | 500kb | Corect! | 10 | 10 |
3 | 0ms | 432kb | Corect! | 10 | 10 |
4 | 0ms | 440kb | Corect! | 10 | 10 |
5 | 0ms | 440kb | Corect! | 10 | 10 |
6 | 0ms | 444kb | Corect! | 10 | 10 |
7 | 0ms | 448kb | Corect! | 10 | 10 |
8 | 44ms | 1296kb | Corect! | 10 | 30 |
9 | 36ms | 1292kb | Corect! | 10 |
10 | 44ms | 1296kb | Corect! | 10 |
Punctaj total | 100 |