Pagini recente » Borderou de evaluare (job #2813797) | Borderou de evaluare (job #396621) | Borderou de evaluare (job #1062768) | Borderou de evaluare (job #1276353) | Borderou de evaluare (job #2278650)
Borderou de evaluare (job #2278650)
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], c --;
^~
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 | 6ms | 524kb | Killed by Signal 11 | 0 |
7 | 6ms | 524kb | Killed by Signal 11 | 0 |
8 | 4ms | 524kb | Wall time limit exceeded | 0 |
9 | 4ms | 524kb | Wall time limit exceeded | 0 |
10 | 4ms | 524kb | Wall time limit exceeded | 0 |
Punctaj total | 0 |