Pagini recente » Borderou de evaluare (job #869332) | Borderou de evaluare (job #261414) | Borderou de evaluare (job #2841671) | Borderou de evaluare (job #369969) | Borderou de evaluare (job #2565978)
Borderou de evaluare (job #2565978)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<s.size();i++) {
~^~~~~~~~~
main.cpp:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=2;i<s.size();i++) {
~^~~~~~~~~
main.cpp:10:9: warning: unused variable 'n' [-Wunused-variable]
int n,m,a,b,c,vf=0,sol=0,n2,i,sm,l,lmax=0;
^
main.cpp:10:13: warning: unused variable 'a' [-Wunused-variable]
int n,m,a,b,c,vf=0,sol=0,n2,i,sm,l,lmax=0;
^
main.cpp:10:15: warning: unused variable 'b' [-Wunused-variable]
int n,m,a,b,c,vf=0,sol=0,n2,i,sm,l,lmax=0;
^
main.cpp:10:17: warning: unused variable 'c' [-Wunused-variable]
int n,m,a,b,c,vf=0,sol=0,n2,i,sm,l,lmax=0;
^
main.cpp:10:30: warning: unused variable 'n2' [-Wunused-variable]
int n,m,a,b,c,vf=0,sol=0,n2,i,sm,l,lmax=0;
^~
main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.in","r",stdin);
^
main.cpp:12:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.out","w",stdout);
^
main.cpp:13:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
main.cpp:31:24: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (s[i]<s[0])
^
main.cpp:37:29: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
l++,sm=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 8ms | 262kb | Incorect | 0 |
5 | 10ms | 393kb | Incorect | 0 |
6 | 2ms | 131kb | OK | 5 |
7 | 2ms | 131kb | OK | 5 |
8 | 3ms | 131kb | OK | 5 |
9 | 5ms | 131kb | OK | 5 |
10 | 7ms | 262kb | OK | 5 |
11 | 20ms | 655kb | OK | 5 |
12 | 14ms | 393kb | OK | 5 |
13 | 19ms | 524kb | OK | 5 |
14 | 23ms | 524kb | OK | 5 |
15 | 11ms | 393kb | OK | 5 |
16 | 16ms | 524kb | OK | 5 |
17 | 15ms | 524kb | OK | 5 |
18 | 19ms | 524kb | OK | 5 |
19 | 19ms | 524kb | OK | 5 |
20 | 2ms | 131kb | OK | 5 |
Punctaj total | 75 |