Pagini recente » Borderou de evaluare (job #2507918) | Borderou de evaluare (job #2194218) | Borderou de evaluare (job #2400439) | Borderou de evaluare (job #2968299) | Borderou de evaluare (job #1496983)
Borderou de evaluare (job #1496983)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:31:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[++nx] = ax[ b[i] ][0];
^
user.cpp:32:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ax[b[i]].pop_front();
^
user.cpp: In function ‘void solve()’:
user.cpp:49:10: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp: In function ‘int main()’:
user.cpp:66:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++u1[ a[i] ],
^
user.cpp:67:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++u2[ b[i] ];
^
user.cpp: In function ‘void read()’:
user.cpp:19:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin);
^
user.cpp:20:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
user.cpp:25:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b);
^
user.cpp: In function ‘int main()’:
user.cpp:62:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out","w",stdout);
^
/tmp/ccIeKWmI.o: In function `read()':
user.cpp:(.text+0x124): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | OK | 10 |
2 | 0ms | 388kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 |
5 | 4ms | 788kb | OK | 10 |
6 | 8ms | 1080kb | OK | 10 |
7 | 8ms | 1072kb | OK | 10 |
8 | 8ms | 1072kb | OK | 10 |
9 | 8ms | 1076kb | OK | 10 |
10 | 8ms | 1072kb | OK | 10 |
Punctaj total | 100 |