Pagini recente » Borderou de evaluare (job #3268485) | Borderou de evaluare (job #2560249) | Borderou de evaluare (job #1289823) | Borderou de evaluare (job #2136592) | Borderou de evaluare (job #2284061)
Borderou de evaluare (job #2284061)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46: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);
^
main.cpp:47: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);
^
main.cpp:48:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &q);
^
main.cpp:53:68: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
if (k == 1) scanf("%d %d", &x, &y), update(1,1,n,x,x+y-1,0);
^
main.cpp:54:68: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
if (k == 2) scanf("%d %d", &x, &y), update(1,1,n,x,x+y-1,1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 775ms | 1835kb | OK | 10 |
| 2 | 5ms | 131kb | OK | 10 |
| 3 | 16ms | 262kb | OK | 10 |
| 4 | 192ms | 524kb | OK | 10 |
| 5 | 388ms | 655kb | OK | 10 |
| 6 | 741ms | 786kb | OK | 10 |
| 7 | 812ms | 3538kb | OK | 10 |
| 8 | 732ms | 655kb | OK | 10 |
| 9 | 709ms | 3407kb | OK | 10 |
| 10 | 725ms | 3407kb | OK | 10 |
| Punctaj total | 100 |