Pagini recente » Borderou de evaluare (job #537680) | Borderou de evaluare (job #3191711) | Borderou de evaluare (job #3290910) | Borderou de evaluare (job #2839780) | Borderou de evaluare (job #2775496)
Borderou de evaluare (job #2775496)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:16:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(h[i]<0)
^~
main.c:18:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(h[i]>=N)
^~
main.c:7:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("lkperm.in","r",stdin),freopen("lkperm.out","w",stdout),scanf("%d%d%d",&n,&l,&k),h[0]=d[0]=1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:7:36: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("lkperm.in","r",stdin),freopen("lkperm.out","w",stdout),scanf("%d%d%d",&n,&l,&k),h[0]=d[0]=1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:7:69: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
freopen("lkperm.in","r",stdin),freopen("lkperm.out","w",stdout),scanf("%d%d%d",&n,&l,&k),h[0]=d[0]=1;
^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 4ms | 262kb | OK | 10 |
6 | 4ms | 262kb | OK | 10 |
7 | 10ms | 1703kb | OK | 10 |
8 | 9ms | 1703kb | OK | 10 |
9 | 15ms | 1703kb | OK | 10 |
10 | 10ms | 1703kb | OK | 10 |
Punctaj total | 100 |