Pagini recente » Cod sursa (job #1576857) | Cod sursa (job #3228337) | Borderou de evaluare (job #1579444) | Borderou de evaluare (job #1565959) | Borderou de evaluare (job #1586311)
Borderou de evaluare (job #1586311)
Raport evaluator
Compilare:
user.cpp: In function ‘bool eval()’:
user.cpp:36:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:36:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:55:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:55: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:79: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:80: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:88:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str+1);
^
user.cpp:89: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:90:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(line);
^
/tmp/cc3PW1rG.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 | 308kb | OK | 10 |
| 2 | 0ms | 308kb | OK | 10 |
| 3 | 0ms | 312kb | OK | 10 |
| 4 | 0ms | 312kb | OK | 10 |
| 5 | 0ms | 308kb | OK | 10 |
| 6 | 0ms | 308kb | OK | 10 |
| 7 | 0ms | 308kb | OK | 10 |
| 8 | 0ms | 308kb | OK | 10 |
| 9 | 0ms | 308kb | OK | 10 |
| 10 | 0ms | 312kb | OK | 10 |
| Punctaj total | 100 |