Pagini recente » Cod sursa (job #1672016) | Borderou de evaluare (job #1119497) | Borderou de evaluare (job #1119813) | Cod sursa (job #220140) | Borderou de evaluare (job #1513735)
Borderou de evaluare (job #1513735)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:66:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hotel.in","r",stdin);
^
user.cpp:67:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hotel.out","w",stdout);
^
user.cpp:69:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:76:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tip);
^
user.cpp:80:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);y=x+y-1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 536ms | 4400kb | OK | 10 |
| 2 | 0ms | 344kb | OK | 10 |
| 3 | 4ms | 568kb | OK | 10 |
| 4 | 112ms | 1328kb | OK | 10 |
| 5 | 204ms | 1328kb | OK | 10 |
| 6 | 72ms | 816kb | OK | 10 |
| 7 | 600ms | 8500kb | OK | 10 |
| 8 | 432ms | 1332kb | OK | 10 |
| 9 | 292ms | 4404kb | OK | 10 |
| 10 | 312ms | 4400kb | OK | 10 |
| Punctaj total | 100 |