Pagini recente » Borderou de evaluare (job #1093520) | Borderou de evaluare (job #2936784) | Borderou de evaluare (job #2164060) | Borderou de evaluare (job #110570) | Borderou de evaluare (job #1756886)
Borderou de evaluare (job #1756886)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve(int)’:
user.cpp:25:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( pos_dr[i][ s[i] ] ) { ultim[0][i] = pos_dr[i][ s[i] ]; ok = 1; t = 1; }
^
user.cpp:25:65: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( pos_dr[i][ s[i] ] ) { ultim[0][i] = pos_dr[i][ s[i] ]; ok = 1; t = 1; }
^
user.cpp: In function ‘int main()’:
user.cpp:59:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[ s[i] ] = i;
^
user.cpp:66:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[ s[i] ] = i;
^
user.cpp:46:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palm.in","r",stdin);
^
user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palm.out","w",stdout);
^
user.cpp:52:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( s+1, NMax, stdin );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 332kb | OK | 10 |
4 | 0ms | 384kb | OK | 10 |
5 | 0ms | 440kb | OK | 10 |
6 | 0ms | 736kb | OK | 10 |
7 | 0ms | 740kb | OK | 10 |
8 | 4ms | 1236kb | OK | 10 |
9 | 4ms | 1240kb | OK | 10 |
10 | 4ms | 1244kb | OK | 10 |
Punctaj total | 100 |