Pagini recente » Borderou de evaluare (job #280110) | Borderou de evaluare (job #634605) | Borderou de evaluare (job #1630399) | Borderou de evaluare (job #2635935) | Borderou de evaluare (job #1202722)
Borderou de evaluare (job #1202722)
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 | 620kb | OK | 5 |
2 | 0ms | 1704kb | OK | 5 |
3 | 20ms | 2112kb | OK | 5 |
4 | 32ms | 2408kb | OK | 5 |
5 | 64ms | 3000kb | OK | 5 |
6 | 120ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 588kb | OK | 5 |
8 | 4ms | 1704kb | OK | 5 |
9 | 4ms | 1796kb | OK | 5 |
10 | 4ms | 1848kb | OK | 5 |
11 | 8ms | 1876kb | OK | 5 |
12 | 16ms | 1928kb | OK | 5 |
13 | 28ms | 2052kb | OK | 5 |
14 | 56ms | 2288kb | OK | 5 |
15 | 68ms | 2400kb | OK | 5 |
16 | 100ms | 2696kb | OK | 5 |
17 | 128ms | 2988kb | OK | 5 |
18 | 156ms | 3284kb | OK | 5 |
19 | 216ms | 3696kb | OK | 5 |
20 | 268ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 90 |