Pagini recente » Borderou de evaluare (job #2076994) | Borderou de evaluare (job #1123075) | Borderou de evaluare (job #492794) | Borderou de evaluare (job #2122147) | Borderou de evaluare (job #1692218)
Borderou de evaluare (job #1692218)
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:48: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:53: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 | 272kb | OK | 10 |
5 | 24ms | 624kb | OK | 10 |
6 | 44ms | 852kb | OK | 10 |
7 | 68ms | 1148kb | OK | 10 |
8 | 88ms | 1324kb | OK | 10 |
9 | 96ms | 1432kb | OK | 10 |
10 | 96ms | 1428kb | OK | 10 |
Punctaj total | 100 |