Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1489202)
| Utilizator | Data | 20 septembrie 2015 19:10:43 | |
|---|---|---|---|
| Problema | Hercule | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 80 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘void afis()’:
user.cpp:27:20: warning: left operand of comma operator has no effect [-Wunused-value]
("%d ",val);
^
user.cpp: In function ‘int main()’:
user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hercule.in","r",stdin);
^
user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hercule.out","w",stdout);
^
user.cpp:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:42:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp: In function ‘void afis()’:
user.cpp:30:9: warning: ‘ok’ is used uninitialized in this function [-Wuninitialized]
if(!ok && val<v[dim])
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 72ms | 272kb | Gresit. | 0 |
| 2 | 76ms | 272kb | OK | 20 |
| 3 | 72ms | 272kb | OK | 20 |
| 4 | 76ms | 276kb | OK | 20 |
| 5 | 76ms | 276kb | OK | 20 |
| Punctaj total | 80 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
