Pagini recente » Borderou de evaluare (job #2645783) | Borderou de evaluare (job #1971110) | Borderou de evaluare (job #462948) | Borderou de evaluare (job #1971212) | Borderou de evaluare (job #1298670)
Borderou de evaluare (job #1298670)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:57: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld",maxi(v[b],maxi(v[a],v[a+1])));
^
user.cpp:57:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld",maxi(v[b],v[a]));
^
user.cpp:60:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
else fprintf(g,"%ld\n",query(1,1,p));
^
user.cpp:41:16: warning: unused variable ‘t’ [-Wunused-variable]
long i,j,m,t,p=1,maxim;
^
user.cpp:41:22: warning: unused variable ‘maxim’ [-Wunused-variable]
long i,j,m,t,p=1,maxim;
^
user.cpp:42:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld",&n,&m);
^
user.cpp:46:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&val);
^
user.cpp:53:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 292kb | Incorect | 0 |
3 | Depăşit | 440kb | Time limit exceeded. | 0 |
4 | Depăşit | 288kb | Time limit exceeded. | 0 |
5 | 160ms | 988kb | Incorect | 0 |
6 | 92ms | 980kb | Incorect | 0 |
7 | Depăşit | 984kb | Time limit exceeded. | 0 |
8 | Depăşit | 980kb | Time limit exceeded. | 0 |
9 | Depăşit | 980kb | Time limit exceeded. | 0 |
10 | Depăşit | 988kb | Time limit exceeded. | 0 |
Punctaj total | 0 |