Pagini recente » Borderou de evaluare (job #2849782) | Borderou de evaluare (job #2701441) | Borderou de evaluare (job #1948062) | Borderou de evaluare (job #550195) | Borderou de evaluare (job #1944446)
Borderou de evaluare (job #1944446)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", dp[1][n]);
^
user.cpp:53:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", dp[line][n]);
^
user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvbest.in", "r", stdin);
^
user.cpp:19:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvbest.out", "w", stdout);
^
user.cpp:21:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &k, &s);
^
user.cpp:24:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 324kb | OK | 10 |
3 | 16ms | 648kb | OK | 10 |
4 | 32ms | 1000kb | OK | 10 |
5 | 48ms | 1352kb | OK | 10 |
6 | 128ms | 3796kb | OK | 10 |
7 | 128ms | 3796kb | OK | 10 |
8 | 188ms | 3788kb | OK | 10 |
9 | 192ms | 3796kb | OK | 10 |
10 | 188ms | 3792kb | OK | 10 |
Punctaj total | 100 |