Pagini recente » Borderou de evaluare (job #3221117) | Borderou de evaluare (job #2247038) | Borderou de evaluare (job #1817969) | Borderou de evaluare (job #811657) | Borderou de evaluare (job #2511573)
Borderou de evaluare (job #2511573)
Raport evaluator
Compilare:
main.cpp: In function 'int solve(int, int)':
main.cpp:18:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i>=dp[n-k].size())
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:31:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("desc2.in", "r",stdin);
^
main.cpp:32:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("desc2.out", "w", stdout);
^
main.cpp:34:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &k, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 393kb | OK | 10 |
2 | 3ms | 393kb | OK | 10 |
3 | 3ms | 393kb | OK | 10 |
4 | 44ms | 1966kb | OK | 10 |
5 | 148ms | 2490kb | OK | 10 |
6 | 6ms | 393kb | OK | 10 |
7 | 4ms | 524kb | OK | 10 |
8 | 6ms | 655kb | OK | 10 |
9 | 27ms | 1359kb | OK | 10 |
10 | 32ms | 1703kb | OK | 10 |
Punctaj total | 100 |