Pagini recente » Borderou de evaluare (job #458928) | Borderou de evaluare (job #1127997) | Borderou de evaluare (job #85858) | Borderou de evaluare (job #1418939) | Borderou de evaluare (job #1331349)
Borderou de evaluare (job #1331349)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (j = s1; j && semn[j] != '(' && prior[semn[j]] >= prior[s[i]]; --j)
^
user.cpp:53:81: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (j = s1; j && semn[j] != '(' && prior[semn[j]] >= prior[s[i]]; --j)
^
user.cpp: In function ‘int operatie(int, int, char)’:
user.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:28: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:29: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:31:26: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
s[0] = '('; gets(s+1); n = strlen(s); s[n] = ')';
^
/tmp/ccBpwP7f.o: In function `main':
user.cpp:(.text.startup+0x5d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 260kb | OK | 10 |
7 | 0ms | 268kb | OK | 10 |
8 | 0ms | 272kb | OK | 10 |
9 | 0ms | 468kb | OK | 10 |
10 | 0ms | 452kb | OK | 10 |
Punctaj total | 100 |