Pagini recente » Borderou de evaluare (job #2035597) | Borderou de evaluare (job #1206727) | Borderou de evaluare (job #834334) | Borderou de evaluare (job #669162) | Borderou de evaluare (job #1495614)
Borderou de evaluare (job #1495614)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",sola);
^
user.cpp:32:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j,lim=1<<n;
^
user.cpp:32:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,lim=1<<n;
^
user.cpp:32:13: warning: unused variable ‘lim’ [-Wunused-variable]
int i,j,lim=1<<n;
^
user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("monezi.in","r",stdin);
^
user.cpp:29:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("monezi.out","w",stdout);
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&s);
^
user.cpp:33:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(k=1;k<=n;++k) scanf("%d",&v[k]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 0ms | 268kb | Incorect | 0 |
8 | 0ms | 264kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 0ms | 264kb | Incorect | 0 |
Punctaj total | 0 |