Pagini recente » Borderou de evaluare (job #2850949) | Borderou de evaluare (job #1985462) | Borderou de evaluare (job #1857075) | Borderou de evaluare (job #2424615) | Borderou de evaluare (job #1531221)
Borderou de evaluare (job #1531221)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[s[i]]++;
^
user.cpp:17:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fol[s[0]]=1;
^
user.cpp:20:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!fol[s[i]]){
^
user.cpp:21:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while ((sf>=1)&&((st[sf]>s[i]) && (nr[st[sf]]>1)) && (!fol[s[i]])){
^
user.cpp:21:76: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while ((sf>=1)&&((st[sf]>s[i]) && (nr[st[sf]]>1)) && (!fol[s[i]])){
^
user.cpp:22:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[st[sf]]--;
^
user.cpp:23:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fol[st[sf]]=0;
^
user.cpp:27:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fol[s[i]]=1;
^
user.cpp:31:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[s[i]]--;
^
user.cpp:19:13: warning: variable ‘g’ set but not used [-Wunused-but-set-variable]
int g=0;
^
user.cpp:35:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (nr[st[i]]>1)
^
user.cpp:37:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[st[i]]--;
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.in","r",stdin);
^
user.cpp:10:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); gets(s);
^
user.cpp:12:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 452kb | OK | 5 |
✓ | 2 | 0ms | 448kb | OK | 5 |
✓ | 3 | 0ms | 460kb | OK | 5 |
✓ | 4 | 0ms | 456kb | OK | 5 |
✓ | 5 | 0ms | 452kb | OK | 5 |
✓ | 6 | 0ms | 460kb | OK | 5 |
✓ | 7 | 0ms | 460kb | OK | 5 |
✓ | 8 | 0ms | 460kb | OK | 5 |
✓ | 9 | 0ms | 456kb | OK | 5 |
✓ | 10 | 0ms | 460kb | OK | 5 |
✓ | 11 | 0ms | 552kb | OK | 5 |
✓ | 12 | 0ms | 556kb | OK | 5 |
✓ | 13 | 0ms | 552kb | OK | 5 |
✓ | 14 | 0ms | 552kb | OK | 5 |
✓ | 15 | 12ms | 1428kb | OK | 5 |
✓ | 16 | 12ms | 1428kb | OK | 5 |
✓ | 17 | 12ms | 1428kb | OK | 5 |
✓ | 18 | 12ms | 1428kb | OK | 5 |
✓ | 19 | 8ms | 1424kb | OK | 5 |
✓ | 20 | 12ms | 1428kb | OK | 5 |
Punctaj total | 100 |