Pagini recente » Borderou de evaluare (job #598758) | Borderou de evaluare (job #1810988) | Borderou de evaluare (job #1372950) | Borderou de evaluare (job #270187) | Borderou de evaluare (job #2092257)
Borderou de evaluare (job #2092257)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(long int, long int, long int, long int, long int)’:
user.cpp:26:6: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(a<=l & r<=b){
^
user.cpp: In function ‘int main()’:
user.cpp:45:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&n, &m);
^
user.cpp:45:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:43:15: warning: unused variable ‘k’ [-Wunused-variable]
long a,b,n,m,k,p;
^
user.cpp:43:17: warning: unused variable ‘p’ [-Wunused-variable]
long a,b,n,m,k,p;
^
user.cpp:41:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in", "r", stdin);
^
user.cpp:42:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out", "w", stdout);
^
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n, &m);
^
user.cpp:47:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
user.cpp:65:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | Depăşit | 432kb | Time limit exceeded. | 0 |
4 | 972ms | 280kb | OK | 10 |
5 | Depăşit | 968kb | Time limit exceeded. | 0 |
6 | 752ms | 976kb | Incorect | 0 |
7 | Depăşit | 972kb | Time limit exceeded. | 0 |
8 | Depăşit | 972kb | Time limit exceeded. | 0 |
9 | Depăşit | 968kb | Time limit exceeded. | 0 |
10 | Depăşit | 972kb | Time limit exceeded. | 0 |
Punctaj total | 30 |