Pagini recente » Borderou de evaluare (job #2228808) | Borderou de evaluare (job #2515249) | Borderou de evaluare (job #874431) | Borderou de evaluare (job #776273) | Borderou de evaluare (job #1973159)
Borderou de evaluare (job #1973159)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
^
user.cpp:13:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(w-a[s[i]]>=3)ans+=s[i],w-=a[s[i]];
^
user.cpp:13:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(w-a[s[i]]>=3)ans+=s[i],w-=a[s[i]];
^
user.cpp:17:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;i<s.length();i++)
^
user.cpp:19:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(w-a[s[i]]>=0)w-=a[s[i]],ans1+=s[i];
^
user.cpp:19:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(w-a[s[i]]>=0)w-=a[s[i]],ans1+=s[i];
^
user.cpp:22:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==s.length())cout<<ans1<<endl;
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 464kb | OK | 10 | 100 |
| 2 | 0ms | 464kb | OK | 10 |
| 3 | 0ms | 456kb | OK | 10 |
| 4 | 0ms | 464kb | OK | 10 |
| 5 | 0ms | 520kb | OK | 10 |
| 6 | 0ms | 788kb | OK | 10 |
| 7 | 4ms | 1356kb | OK | 10 |
| 8 | 4ms | 1360kb | OK | 10 |
| 9 | 4ms | 1360kb | OK | 10 |
| 10 | 4ms | 1352kb | OK | 10 |
| Punctaj total | 100 |