Pagini recente » Borderou de evaluare (job #848245) | Borderou de evaluare (job #279867) | Borderou de evaluare (job #946034) | Borderou de evaluare (job #2254433) | Borderou de evaluare (job #1807113)
Borderou de evaluare (job #1807113)
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 | 284kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 340kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 |
5 | 0ms | 460kb | OK | 10 |
6 | 0ms | 660kb | OK | 10 |
7 | 20ms | 1044kb | OK | 10 |
8 | 64ms | 1444kb | OK | 10 |
9 | 152ms | 1840kb | Incorect | 0 |
10 | 304ms | 2228kb | Incorect | 0 |
Punctaj total | 80 |