Pagini recente » Borderou de evaluare (job #1107146) | Borderou de evaluare (job #2425077)
Borderou de evaluare (job #2425077)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:40:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d",&v[i]);
^
main.cpp:35:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in","r",stdin);
^
main.cpp:36:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out","w",stdout);
^
main.cpp:38:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
main.cpp:40:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:54:28: 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 |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 3ms | 131kb | OK | 10 | 10 |
3 | 6ms | 655kb | OK | 10 | 10 |
4 | 93ms | 7077kb | OK | 10 | 10 |
5 | 134ms | 7172kb | OK | 10 | 20 |
6 | 724ms | 10563kb | OK | 10 |
7 | 831ms | 13459kb | OK | 10 | 10 |
8 | 785ms | 16777kb | OK | 10 | 10 |
9 | 871ms | 17039kb | OK | 10 | 10 |
10 | 1153ms | 17526kb | OK | 10 | 10 |
Punctaj total | 100 |