Pagini recente » Borderou de evaluare (job #1564151) | Borderou de evaluare (job #637072) | Borderou de evaluare (job #391768) | Borderou de evaluare (job #3230035) | Borderou de evaluare (job #1202721)
Borderou de evaluare (job #1202721)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scanf("%c",&X[i]),a[X[i]]=i;
^
user.cpp:46: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:46: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:46: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:46: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:46: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:36: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:37: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:38: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:39:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&X[1]);
^
user.cpp:41: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:42:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&X[0]);
^
user.cpp:45: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 | 632kb | OK | 5 |
2 | 4ms | 1956kb | OK | 5 |
3 | 16ms | 2472kb | OK | 5 |
4 | 32ms | 2768kb | OK | 5 |
5 | 64ms | 3348kb | OK | 5 |
6 | 116ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 596kb | OK | 5 |
8 | 4ms | 1872kb | OK | 5 |
9 | 4ms | 2084kb | OK | 5 |
10 | 4ms | 2188kb | OK | 5 |
11 | 8ms | 2228kb | OK | 5 |
12 | 16ms | 2288kb | OK | 5 |
13 | 28ms | 2408kb | OK | 5 |
14 | 52ms | 2636kb | OK | 5 |
15 | 68ms | 2752kb | OK | 5 |
16 | 96ms | 3052kb | OK | 5 |
17 | 124ms | 3344kb | OK | 5 |
18 | 156ms | 3628kb | OK | 5 |
19 | 212ms | 4048kb | OK | 5 |
20 | 112ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 90 |