Pagini recente » Borderou de evaluare (job #415337) | Borderou de evaluare (job #1390398) | Borderou de evaluare (job #2593671) | Borderou de evaluare (job #1843604) | Borderou de evaluare (job #2278662)
Borderou de evaluare (job #2278662)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while( top > 0 && v[j] > st[top] && c > 0 )
^~~~~
main.cpp:21:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
st[++top] = v[j];
^~
main.cpp:9:9: warning: unused variable 'a' [-Wunused-variable]
int a,b,c,k,i,top,j,n;
^
main.cpp:9:11: warning: unused variable 'b' [-Wunused-variable]
int a,b,c,k,i,top,j,n;
^
main.cpp:9:15: warning: variable 'k' set but not used [-Wunused-but-set-variable]
int a,b,c,k,i,top,j,n;
^
main.cpp:7:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
main.cpp:8:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
main.cpp:11:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 16ms | 655kb | Incorect | 0 |
7 | 10ms | 524kb | Incorect | 0 |
8 | 53ms | 4587kb | Time limit exceeded | 0 |
9 | 53ms | 4587kb | Time limit exceeded | 0 |
10 | 53ms | 4587kb | Time limit exceeded | 0 |
Punctaj total | 0 |