Pagini recente » Borderou de evaluare (job #2719097) | Borderou de evaluare (job #514991) | Borderou de evaluare (job #2443043) | Borderou de evaluare (job #1409557) | Borderou de evaluare (job #1404616)
Borderou de evaluare (job #1404616)
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 | 572kb | Incorect | 0 |
2 | 0ms | 400kb | Incorect | 0 |
3 | 0ms | 408kb | Incorect | 0 |
4 | 0ms | 560kb | Incorect | 0 |
5 | 0ms | 524kb | OK | 10 |
6 | 12ms | 908kb | Incorect | 0 |
7 | 20ms | 1104kb | Incorect | 0 |
8 | 28ms | 1148kb | Incorect | 0 |
9 | 48ms | 872kb | Incorect | 0 |
10 | 40ms | 768kb | Incorect | 0 |
Punctaj total | 10 |