Pagini recente » Borderou de evaluare (job #442067) | Borderou de evaluare (job #274789) | Borderou de evaluare (job #2877442) | Borderou de evaluare (job #2838222) | Borderou de evaluare (job #1807110)
Borderou de evaluare (job #1807110)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",dp[1][n]);
^
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.in","r",stdin);
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=0;i<=n;++i) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 352kb | OK | 10 |
4 | 0ms | 420kb | OK | 10 |
5 | 0ms | 456kb | OK | 10 |
6 | 0ms | 656kb | OK | 10 |
7 | 16ms | 1052kb | OK | 10 |
8 | 64ms | 1436kb | OK | 10 |
9 | 152ms | 1836kb | Incorect | 0 |
10 | 304ms | 2224kb | Incorect | 0 |
Punctaj total | 80 |