Pagini recente » Borderou de evaluare (job #1940205) | Borderou de evaluare (job #1756125) | Borderou de evaluare (job #3245550) | Borderou de evaluare (job #516163) | Borderou de evaluare (job #1884499)
Borderou de evaluare (job #1884499)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:74:13: warning: unused variable ‘z’ [-Wunused-variable]
int z=!op.empty();
^
user.cpp:40:14: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int n,nr,x;
^
user.cpp:41:10: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
char y;
^
user.cpp:38: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:39: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:42: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:19:12: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return p;
^
user.cpp: In function ‘int main()’:
user.cpp:85:44: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(!op.empty() && op.top()!='(' && priority(s[i])<=priority(op.top()))
^
/tmp/ccQp67ub.o: In function `main':
user.cpp:(.text.startup+0x5b): 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 | 252kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 0ms | 252kb | OK | 10 |
6 | 0ms | 248kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 260kb | OK | 10 |
9 | 0ms | 352kb | OK | 10 |
10 | 0ms | 340kb | OK | 10 |
Punctaj total | 100 |