Pagini recente » Borderou de evaluare (job #2891648) | Borderou de evaluare (job #3222405) | Borderou de evaluare (job #250283) | Borderou de evaluare (job #2594879) | Borderou de evaluare (job #1570178)
Borderou de evaluare (job #1570178)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(i<n && s && rang[sign[a[i]]-MAX]<=rang[S[s]-MAX] && S[s]!=sign['('])
^
user.cpp:59:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
S[++s]=sign[a[i]];
^
user.cpp:64:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<post.size();++i)
^
user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in","r",stdin);
^
user.cpp:23:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.out","w",stdout);
^
user.cpp:25:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);
^
/tmp/ccWNoryS.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 0ms | 248kb | OK | 10 |
6 | 0ms | 252kb | OK | 10 |
7 | 0ms | 284kb | OK | 10 |
8 | 0ms | 284kb | OK | 10 |
9 | 0ms | 572kb | OK | 10 |
10 | 0ms | 568kb | OK | 10 |
Punctaj total | 100 |