Pagini recente » Borderou de evaluare (job #9764) | Borderou de evaluare (job #2233271) | Borderou de evaluare (job #1608322) | Borderou de evaluare (job #1032417) | Borderou de evaluare (job #1692216)
Borderou de evaluare (job #1692216)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "heavymetal.in", "r", stdin );
^
user.cpp:44:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "heavymetal.out", "w", stdout );
^
user.cpp:46:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &n );
^
user.cpp:49:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &v[i].st, &v[i].dr );
^
user.cpp:56:30: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
d[i]=maxim(d[i-1],d[j]+(v[i].dr-v[i].st));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 24ms | 616kb | OK | 10 |
6 | 44ms | 852kb | OK | 10 |
7 | 72ms | 1140kb | OK | 10 |
8 | 88ms | 1320kb | OK | 10 |
9 | 96ms | 1428kb | OK | 10 |
10 | 100ms | 1432kb | OK | 10 |
Punctaj total | 90 |