Pagini recente » Borderou de evaluare (job #1285758) | Borderou de evaluare (job #242826) | Borderou de evaluare (job #2434508) | Borderou de evaluare (job #3210890) | Borderou de evaluare (job #1418147)
Borderou de evaluare (job #1418147)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55: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:56: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:58:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &Q);
^
user.cpp:64:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tip);
^
user.cpp:68:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &st, &dr); dr = st + dr - 1;
^
user.cpp:73:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &st, &dr); dr = st + dr - 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 360ms | 3764kb | OK | 10 |
| 2 | 4ms | 3768kb | OK | 10 |
| 3 | 8ms | 3768kb | OK | 10 |
| 4 | 84ms | 3768kb | OK | 10 |
| 5 | 156ms | 3764kb | OK | 10 |
| 6 | 72ms | 3772kb | OK | 10 |
| 7 | 384ms | 3768kb | OK | 10 |
| 8 | 320ms | 3768kb | OK | 10 |
| 9 | 220ms | 3772kb | OK | 10 |
| 10 | 224ms | 3764kb | OK | 10 |
| Punctaj total | 100 |