Pagini recente » Borderou de evaluare (job #2683049) | Borderou de evaluare (job #368071) | Borderou de evaluare (job #2861674) | Borderou de evaluare (job #1505834) | Borderou de evaluare (job #1751779)
Borderou de evaluare (job #1751779)
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<log;a*=2)
^
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);
^
user.cpp: In function ‘int caut2(int)’:
user.cpp:25:16: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int a=1,i=0,b;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | OK | 10 | 10 |
2 | 0ms | 440kb | Incorect | 0 | 0 |
3 | 0ms | 436kb | Incorect | 0 | 0 |
4 | 4ms | 440kb | Incorect | 0 | 0 |
5 | 20ms | 480kb | Incorect | 0 | 0 |
6 | 76ms | 640kb | Incorect | 0 |
7 | 116ms | 828kb | Incorect | 0 | 0 |
8 | 120ms | 832kb | Incorect | 0 |
9 | 120ms | 832kb | Incorect | 0 |
10 | 120ms | 828kb | Incorect | 0 |
Punctaj total | 10 |