Pagini recente » Borderou de evaluare (job #677509) | Borderou de evaluare (job #1851656) | Borderou de evaluare (job #39100) | Borderou de evaluare (job #2092419) | Borderou de evaluare (job #1464808)
Borderou de evaluare (job #1464808)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (int i = 1;i <= n;++i) scanf("%I64d\n",s+i),dp[i] = 0;
^
user.cpp:27:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",dp[n]);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caluti.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caluti.out","w",stdout);
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:16:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&k,&p);
^
user.cpp:17:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1;i <= n;++i) scanf("%I64d\n",s+i),dp[i] = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | Incorect | 0 |
2 | 0ms | 460kb | Incorect | 0 |
3 | 0ms | 480kb | Incorect | 0 |
4 | 0ms | 480kb | Incorect | 0 |
5 | 8ms | 540kb | Incorect | 0 |
6 | Depăşit | 4220kb | Time limit exceeded. | 0 |
7 | Depăşit | 4936kb | Time limit exceeded. | 0 |
8 | Depăşit | 4600kb | Time limit exceeded. | 0 |
9 | Depăşit | 4584kb | Time limit exceeded. | 0 |
10 | Depăşit | 5816kb | Time limit exceeded. | 0 |
Punctaj total | 0 |