Pagini recente » Borderou de evaluare (job #713245) | Borderou de evaluare (job #2437421) | Cod sursa (job #511103) | Borderou de evaluare (job #1289212) | Borderou de evaluare (job #2418589)
Borderou de evaluare (job #2418589)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:18: warning: unused variable 'l' [-Wunused-variable]
int i,j,vmax,l,va,ans=0,n,s,ind,q,k,val;
^
main.cpp:12:37: warning: unused variable 'q' [-Wunused-variable]
int i,j,vmax,l,va,ans=0,n,s,ind,q,k,val;
^
main.cpp:14: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);
^
main.cpp:15: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);
^
main.cpp:16:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&s);
^
main.cpp:18:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 315ms | 9633kb | OK | 10 |
| 2 | 355ms | 9564kb | OK | 10 |
| 3 | 442ms | 9691kb | OK | 10 |
| 4 | 386ms | 9568kb | OK | 10 |
| 5 | 5ms | 262kb | OK | 10 |
| 6 | 5ms | 262kb | OK | 10 |
| 7 | 9ms | 249kb | OK | 10 |
| 8 | 6ms | 266kb | OK | 10 |
| 9 | 3ms | 131kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |