Pagini recente » Borderou de evaluare (job #2877114) | Borderou de evaluare (job #561406) | Borderou de evaluare (job #661855) | Borderou de evaluare (job #822191) | Borderou de evaluare (job #1889550)
Borderou de evaluare (job #1889550)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:96:12: warning: statement has no effect [-Wunused-value]
for(top;top>=1;top--)
^
user.cpp:25:10: warning: variable ‘ch’ set but not used [-Wunused-but-set-variable]
char ch;
^
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:26:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int priority(char)’:
user.cpp:14:12: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return p;
^
user.cpp: In function ‘int main()’:
user.cpp:72:38: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(top>0&&op[top]!='('&&priority(s[i])<=priority(op[top]))
^
user.cpp:68:36: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(top==0||op[top]=='('||priority(s[i])>priority(op[top]))
^
/tmp/ccaP7Z1B.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 | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 260kb | OK | 10 |
7 | 0ms | 264kb | OK | 10 |
8 | 0ms | 264kb | OK | 10 |
9 | 0ms | 352kb | OK | 10 |
10 | 0ms | 344kb | OK | 10 |
Punctaj total | 100 |