Pagini recente » Borderou de evaluare (job #2443305) | Borderou de evaluare (job #2660592) | Borderou de evaluare (job #546557) | Borderou de evaluare (job #1110706) | Borderou de evaluare (job #1586304)
Borderou de evaluare (job #1586304)
Raport evaluator
Compilare:
user.cpp: In function ‘bool eval()’:
user.cpp:34:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:34:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:53:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:53:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp: In function ‘int main()’:
user.cpp:77:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
user.cpp:78:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
user.cpp:86:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str+1);
^
user.cpp:87:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(line); sscanf(line,"%d",&n);
^
user.cpp:88:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(line);
^
/tmp/cckLsbU1.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | OK | 10 |
| 2 | 0ms | 308kb | OK | 10 |
| 3 | 0ms | 308kb | OK | 10 |
| 4 | 0ms | 308kb | OK | 10 |
| 5 | 0ms | 304kb | OK | 10 |
| 6 | 0ms | 312kb | Incorect | 0 |
| 7 | 0ms | 304kb | OK | 10 |
| 8 | 0ms | 308kb | OK | 10 |
| 9 | 0ms | 312kb | Incorect | 0 |
| 10 | 0ms | 312kb | OK | 10 |
| Punctaj total | 80 |