Pagini recente » Borderou de evaluare (job #2508665) | Borderou de evaluare (job #270366) | Borderou de evaluare (job #748335) | Borderou de evaluare (job #511016) | Borderou de evaluare (job #1404625)
Borderou de evaluare (job #1404625)
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:51:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[n[i]][l][p]+=curent[l][p];
^
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 | 400kb | Incorect | 0 |
3 | 0ms | 400kb | Incorect | 0 |
4 | 0ms | 564kb | Incorect | 0 |
5 | 0ms | 524kb | Incorect | 0 |
6 | 12ms | 908kb | Incorect | 0 |
7 | 20ms | 1100kb | Incorect | 0 |
8 | 28ms | 1144kb | Incorect | 0 |
9 | 52ms | 868kb | Incorect | 0 |
10 | 40ms | 772kb | Incorect | 0 |
Punctaj total | 0 |