Pagini recente » Borderou de evaluare (job #2162502) | Borderou de evaluare (job #982487) | Borderou de evaluare (job #456406) | Borderou de evaluare (job #22178) | Borderou de evaluare (job #1404630)
Borderou de evaluare (job #1404630)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:38: warning: format ‘%s’ expects argument of type ‘char*’, but argument 6 has type ‘char (*)[201]’ [-Wformat=]
fscanf(f,"%d%d%d\n%s",&k,&a,&b,&n);
^
user.cpp:31:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
firstcif[n[i-1]][i]=i-1;
^
user.cpp:40:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( i!=0&&firstcif[j][i]>=firstcif[n[i]][i] )
^
user.cpp:47:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( n[i]!=0&&firstcif[n[i]][i]==-1 )
^
user.cpp:51:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[n[i]][l][p]=(dp[n[i]][l][p]+curent[l][p])%MOD;
^
user.cpp:51:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[n[i]][l][p]=(dp[n[i]][l][p]+curent[l][p])%MOD;
^
user.cpp:18:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d\n%s",&k,&a,&b,&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 568kb | Incorect | 0 |
2 | 0ms | 396kb | Incorect | 0 |
3 | 0ms | 404kb | Incorect | 0 |
4 | 0ms | 560kb | Incorect | 0 |
5 | 0ms | 520kb | Incorect | 0 |
6 | 12ms | 908kb | Incorect | 0 |
7 | 20ms | 1096kb | Incorect | 0 |
8 | 32ms | 1144kb | Incorect | 0 |
9 | 56ms | 868kb | Incorect | 0 |
10 | 44ms | 764kb | Incorect | 0 |
Punctaj total | 0 |