Pagini recente » Borderou de evaluare (job #3148815) | Borderou de evaluare (job #3170550)
Borderou de evaluare (job #3170550)
Raport evaluator
Compilare:
main.cpp: In function 'void citire(int&, int*, int, int&, int, int)':
main.cpp:51:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
51 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:54:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
54 | in>>m;
| ^~
main.cpp: In function 'int main()':
main.cpp:72:9: warning: statement has no effect [-Wunused-value]
72 | for(lg;lg<=n;lg<<=1);
| ^~
main.cpp:72:14: warning: 'n' is used uninitialized [-Wuninitialized]
72 | for(lg;lg<=n;lg<<=1);
| ~~^~~
main.cpp:71:30: note: 'n' declared here
71 | int lg=1,v[100005],k,m,t,n;
| ^
main.cpp:74:11: warning: 'k' is used uninitialized [-Wuninitialized]
74 | citire(n,v,k,m,t,lg);
| ~~~~~~^~~~~~~~~~~~~~
main.cpp:71:24: note: 'k' was declared here
71 | int lg=1,v[100005],k,m,t,n;
| ^
main.cpp:74:11: warning: 't' is used uninitialized [-Wuninitialized]
74 | citire(n,v,k,m,t,lg);
| ~~~~~~^~~~~~~~~~~~~~
main.cpp:71:28: note: 't' was declared here
71 | int lg=1,v[100005],k,m,t,n;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 0ms | 303kb | Incorect | 0 | 0 |
3 | 0ms | 303kb | Incorect | 0 | 0 |
4 | 2ms | 303kb | Incorect | 0 | 0 |
5 | 9ms | 303kb | Incorect | 0 | 0 |
6 | 34ms | 827kb | Incorect | 0 |
7 | 49ms | 1114kb | Incorect | 0 | 0 |
8 | 49ms | 1114kb | Incorect | 0 |
9 | 49ms | 1105kb | Incorect | 0 |
10 | 49ms | 1093kb | Incorect | 0 |
Punctaj total | 0 |