Pagini recente » Monitorul de evaluare | Cod sursa (job #1751230) | Monitorul de evaluare | Cod sursa (job #2425365) | Borderou de evaluare (job #1836513)
Borderou de evaluare (job #1836513)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&m);
^
user.cpp:67:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:79:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&x);
^
user.cpp:90:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&x,&y);
^
user.cpp:90:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp: In function ‘ARB query(int, int, int, int, int)’:
user.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:65:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sequencequery.in","r",stdin);
^
user.cpp:67:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&m);
^
user.cpp:79:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
user.cpp:90:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 5 |
| 2 | 0ms | 448kb | OK | 5 |
| 3 | 0ms | 464kb | OK | 5 |
| 4 | 0ms | 460kb | OK | 5 |
| 5 | 0ms | 468kb | OK | 5 |
| 6 | 0ms | 468kb | OK | 5 |
| 7 | 0ms | 508kb | OK | 5 |
| 8 | 0ms | 504kb | OK | 5 |
| 9 | 12ms | 856kb | OK | 5 |
| 10 | 24ms | 852kb | OK | 5 |
| 11 | 16ms | 1268kb | OK | 5 |
| 12 | 28ms | 1268kb | OK | 5 |
| 13 | 76ms | 2248kb | OK | 5 |
| 14 | 136ms | 2244kb | OK | 5 |
| 15 | 88ms | 4056kb | OK | 5 |
| 16 | 160ms | 4052kb | OK | 5 |
| 17 | 160ms | 4060kb | OK | 5 |
| 18 | 292ms | 4056kb | OK | 5 |
| 19 | 196ms | 7668kb | OK | 5 |
| 20 | 340ms | 7668kb | OK | 5 |
| Punctaj total | 100 |