Pagini recente » Borderou de evaluare (job #2920844) | Borderou de evaluare (job #1377322) | Borderou de evaluare (job #1830415) | Borderou de evaluare (job #2032949) | Borderou de evaluare (job #1482764)
Borderou de evaluare (job #1482764)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numerex.in","r",stdin);
^
user.cpp:47:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numerex.out","w",stdout);
^
user.cpp:48: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:52:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&tip,&l,&r);
^
user.cpp:54:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
r += l - 1,update(1,n,l-1,r-1,-k,1),update(1,n,r,r,1ll * k * (r-l+1),1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 4ms | 488kb | OK | 10 |
4 | 340ms | 3512kb | OK | 10 |
5 | 336ms | 3508kb | OK | 10 |
6 | 472ms | 3516kb | OK | 10 |
7 | 816ms | 6584kb | OK | 10 |
8 | 1112ms | 6588kb | OK | 10 |
9 | 1336ms | 6584kb | OK | 10 |
10 | 1484ms | 6580kb | OK | 10 |
Punctaj total | 100 |