Pagini recente » Borderou de evaluare (job #3222044) | Borderou de evaluare (job #2186726) | Borderou de evaluare (job #2180707) | Borderou de evaluare (job #2265102) | Borderou de evaluare (job #1202724)
Borderou de evaluare (job #1202724)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scanf("%c",&X[i]),a[X[i]]=i;
^
user.cpp:33:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
OK[a[s[1]]][a[s[2]]][a[s[3]]][a[s[4]]][a[s[5]]]++;
^
user.cpp:33:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
OK[a[s[1]]][a[s[2]]][a[s[3]]][a[s[4]]][a[s[5]]]++;
^
user.cpp:33:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
OK[a[s[1]]][a[s[2]]][a[s[3]]][a[s[4]]][a[s[5]]]++;
^
user.cpp:33:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
OK[a[s[1]]][a[s[2]]][a[s[3]]][a[s[4]]][a[s[5]]]++;
^
user.cpp:33:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
OK[a[s[1]]][a[s[2]]][a[s[3]]][a[s[4]]][a[s[5]]]++;
^
user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in","r",stdin);
^
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out","w",stdout);
^
user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&test,&N);
^
user.cpp:23:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&X[1]);
^
user.cpp:26:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&X[i]),a[X[i]]=i;
^
user.cpp:28:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&X[0]);
^
user.cpp:32:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%c%c%c%c%c",&s[1],&s[2],&s[3],&s[4],&s[5],&X[0]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 608kb | OK | 5 |
2 | 0ms | 1564kb | OK | 5 |
3 | 16ms | 1940kb | OK | 5 |
4 | 36ms | 2236kb | OK | 5 |
5 | 64ms | 2816kb | OK | 5 |
6 | 108ms | 3984kb | OK | 5 |
7 | 0ms | 596kb | OK | 5 |
8 | 0ms | 1560kb | OK | 5 |
9 | 4ms | 1628kb | OK | 5 |
10 | 4ms | 1660kb | OK | 5 |
11 | 8ms | 1700kb | OK | 5 |
12 | 16ms | 1752kb | OK | 5 |
13 | 28ms | 1876kb | OK | 5 |
14 | 56ms | 2112kb | OK | 5 |
15 | 68ms | 2224kb | OK | 5 |
16 | 100ms | 2520kb | OK | 5 |
17 | 132ms | 2816kb | OK | 5 |
18 | 156ms | 3100kb | OK | 5 |
19 | 196ms | 3520kb | OK | 5 |
20 | 260ms | 3976kb | OK | 5 |
Punctaj total | 100 |