Pagini recente » Borderou de evaluare (job #2974352) | Borderou de evaluare (job #1205689) | Borderou de evaluare (job #2780597) | Borderou de evaluare (job #2470299) | Borderou de evaluare (job #1754544)
Borderou de evaluare (job #1754544)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if((s>>i)&1)if(u&l[i])corect=0;
^
user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("reteta.in","r",stdin);
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.out","w",stdout);
^
user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&t[i],&z);
^
user.cpp:13:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:17:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++)scanf("%d",&c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 296kb | OK | 10 |
8 | 0ms | 288kb | OK | 10 |
9 | 0ms | 292kb | OK | 10 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 100 |