Pagini recente » Borderou de evaluare (job #1005156) | Borderou de evaluare (job #1422104) | Borderou de evaluare (job #1914362) | Borderou de evaluare (job #809829) | Borderou de evaluare (job #1682343)
Borderou de evaluare (job #1682343)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
per[x][y]=per[y][x]=1;
^
user.cpp:21:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
per[x][y]=per[y][x]=1;
^
user.cpp:21:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
per[x][y]=per[y][x]=1;
^
user.cpp:21:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
per[x][y]=per[y][x]=1;
^
user.cpp:24:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(x='a'; x<='z'; ++x) d[1][x]=1;
^
user.cpp:30:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!per[x][y])
^
user.cpp:30:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!per[x][y])
^
user.cpp:31:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i][x] += d[i-1][y];
^
user.cpp:31:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i][x] += d[i-1][y];
^
user.cpp:33:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i][x]%=Mod;
^
user.cpp:37:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(x='a'; x<='z'; ++x) s += d[n][x];
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrcuv.in", "r", stdin);
^
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrcuv.out", "w", stdout);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %c\n", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 5 |
2 | 0ms | 272kb | OK | 5 |
3 | 0ms | 272kb | OK | 5 |
4 | 0ms | 276kb | OK | 5 |
5 | 0ms | 272kb | OK | 5 |
6 | 0ms | 272kb | OK | 5 |
7 | 0ms | 272kb | OK | 5 |
8 | 0ms | 276kb | OK | 5 |
9 | 0ms | 280kb | OK | 5 |
10 | 0ms | 288kb | OK | 5 |
11 | 0ms | 292kb | OK | 5 |
12 | 0ms | 300kb | OK | 5 |
13 | 0ms | 412kb | OK | 5 |
14 | 0ms | 480kb | OK | 5 |
15 | 0ms | 520kb | OK | 5 |
16 | 0ms | 564kb | OK | 5 |
17 | 0ms | 676kb | OK | 5 |
18 | 4ms | 852kb | OK | 5 |
19 | 4ms | 856kb | OK | 5 |
20 | 0ms | 856kb | OK | 5 |
Punctaj total | 100 |