Pagini recente » Cod sursa (job #40238) | Borderou de evaluare (job #509817) | Cod sursa (job #2016102) | Borderou de evaluare (job #2762112) | Borderou de evaluare (job #1205864)
Borderou de evaluare (job #1205864)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84: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:85: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:86:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
user.cpp:90:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:93:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:99:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 376ms | 2312kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 4ms | 392kb | OK | 10 |
| 4 | 80ms | 780kb | OK | 10 |
| 5 | 164ms | 776kb | OK | 10 |
| 6 | 64ms | 260kb | OK | 10 |
| 7 | 392ms | 4360kb | OK | 10 |
| 8 | 344ms | 776kb | OK | 10 |
| 9 | 220ms | 308kb | OK | 10 |
| 10 | 224ms | 304kb | OK | 10 |
| Punctaj total | 100 |