Pagini recente » Borderou de evaluare (job #3157676) | Borderou de evaluare (job #2143971) | Borderou de evaluare (job #2118936) | Borderou de evaluare (job #2082687) | Borderou de evaluare (job #1751838)
Borderou de evaluare (job #1751838)
Raport evaluator
Compilare:
user.cpp: In function ‘int caut(int)’:
user.cpp:9:10: warning: statement has no effect [-Wunused-value]
for(a;a;a/=2)
^
user.cpp: In function ‘int caut2(int)’:
user.cpp:26:10: warning: statement has no effect [-Wunused-value]
for(a;a;a/=2)
^
user.cpp:25:18: warning: unused variable ‘b’ [-Wunused-variable]
int a=log,i=0,b;
^
user.cpp: In function ‘int despart(int, int, int)’:
user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:35:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("cautbin.in","r",stdin);
^
user.cpp:36:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
user.cpp:38:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:40:33: 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);
^
user.cpp:41:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | OK | 10 | 10 |
2 | 0ms | 440kb | OK | 10 | 10 |
3 | 0ms | 436kb | OK | 10 | 10 |
4 | 4ms | 448kb | OK | 10 | 10 |
5 | 20ms | 484kb | OK | 10 | 20 |
6 | 76ms | 632kb | OK | 10 |
7 | 112ms | 832kb | OK | 10 | 40 |
8 | 120ms | 824kb | OK | 10 |
9 | 120ms | 828kb | OK | 10 |
10 | 120ms | 832kb | OK | 10 |
Punctaj total | 100 |