Pagini recente » Borderou de evaluare (job #1999631) | Borderou de evaluare (job #30444) | Borderou de evaluare (job #7206) | Borderou de evaluare (job #1843256) | Borderou de evaluare (job #2154134)
Borderou de evaluare (job #2154134)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &sir[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:60: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);
^
user.cpp:61: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);
^
user.cpp: In function ‘void solve()’:
user.cpp:44:11: warning: ‘pozMax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", dp[pozMax]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 868kb | Corect! | 10 | 10 |
2 | 0ms | 800kb | Corect! | 10 | 10 |
3 | 0ms | 804kb | Lungime incorecta! | 0 | 0 |
4 | 0ms | 860kb | Lungime incorecta! | 0 | 0 |
5 | 0ms | 864kb | Lungime incorecta! | 0 | 0 |
6 | 0ms | 876kb | Lungime incorecta! | 0 | 0 |
7 | 0ms | 760kb | Lungime incorecta! | 0 | 0 |
8 | 40ms | 1892kb | Lungime incorecta! | 0 | 0 |
9 | 36ms | 1896kb | Corect! | 10 |
10 | 36ms | 1888kb | Lungime incorecta! | 0 |
Punctaj total | 20 |