Pagini recente » Borderou de evaluare (job #214369) | Borderou de evaluare (job #1436546) | Borderou de evaluare (job #929906) | Borderou de evaluare (job #151731) | Borderou de evaluare (job #2406716)
Borderou de evaluare (job #2406716)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0;i<=2000;i++)
^~~
main.cpp:25:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=0;i<=n;i++) dp[i][0]=0;
^~~
main.cpp:11:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("antivirus.in","r",stdin);
^
main.cpp:12:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("antivirus.out","w",stdout);
^
main.cpp:13:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:16:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:18:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) {scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 33ms | 16121kb | OK | 10 |
2 | 33ms | 16121kb | OK | 10 |
3 | 33ms | 16121kb | OK | 10 |
4 | 47ms | 16121kb | OK | 10 |
5 | 53ms | 16252kb | OK | 10 |
6 | 141ms | 16121kb | OK | 10 |
7 | 136ms | 16121kb | OK | 10 |
8 | 152ms | 16121kb | OK | 10 |
9 | 158ms | 16121kb | OK | 10 |
10 | 151ms | 16121kb | OK | 10 |
Punctaj total | 100 |