Pagini recente » Borderou de evaluare (job #679016) | Borderou de evaluare (job #1800789) | Borderou de evaluare (job #905362) | Borderou de evaluare (job #3248644) | Borderou de evaluare (job #2609553)
Borderou de evaluare (job #2609553)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:37:21: warning: unused variable 'mask' [-Wunused-variable]
int mask1,mask0,mask;
^~~~
main.cpp:9:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.in","r",stdin);
^
main.cpp:10:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.out","w",stdout);
^
main.cpp:12:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&l);
^
main.cpp:17:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
main.cpp:20:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
main.cpp:23:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
main.cpp:26:14: warning: iteration 131071 invokes undefined behavior [-Waggressive-loop-optimizations]
dp[i]=NMAX;
~~~~~^~~~~
main.cpp:24:18: note: within this loop
for(int i=1;i<=(1<<17);i++)
~^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 655kb | Cool! | 10 |
2 | 3ms | 655kb | Urat.. urat de tot: raspuns gresit | 0 |
3 | 4ms | 655kb | Urat.. urat de tot: raspuns gresit | 0 |
4 | 9ms | 655kb | Urat.. urat de tot: raspuns gresit | 0 |
5 | 12ms | 655kb | Urat.. urat de tot: raspuns gresit | 0 |
6 | 43ms | 655kb | Urat.. urat de tot: raspuns gresit | 0 |
7 | 76ms | 655kb | Urat.. urat de tot: raspuns gresit | 0 |
8 | 115ms | 655kb | Urat.. urat de tot: raspuns gresit | 0 |
9 | 207ms | 655kb | Cool! | 10 |
10 | 206ms | 786kb | Cool! | 10 |
Punctaj total | 30 |