Pagini recente » Borderou de evaluare (job #77093) | Borderou de evaluare (job #2885736) | Borderou de evaluare (job #3285600) | Borderou de evaluare (job #2439756) | Borderou de evaluare (job #1970049)
Borderou de evaluare (job #1970049)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&n,&m);
^
user.cpp:37:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:40:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld ",&Val);
^
user.cpp:47:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&y,&z);
^
user.cpp:47:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:44:9: warning: unused variable ‘x’ [-Wunused-variable]
int x,y,z;
^
user.cpp:35: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);
^
user.cpp:36: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);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld ",&Val);
^
user.cpp:47:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 448kb | OK | 10 | 10 |
2 | 0ms | 452kb | OK | 10 | 10 |
3 | 4ms | 508kb | OK | 10 | 10 |
4 | 136ms | 960kb | OK | 10 | 10 |
5 | 160ms | 956kb | OK | 10 | 20 |
6 | 992ms | 952kb | OK | 10 |
7 | 1032ms | 1472kb | OK | 10 | 10 |
8 | 1188ms | 1464kb | OK | 10 | 10 |
9 | Depăşit | 1456kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 1448kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 80 |