Pagini recente » Borderou de evaluare (job #1644838) | Borderou de evaluare (job #2390213) | Borderou de evaluare (job #392197) | Borderou de evaluare (job #336509) | Borderou de evaluare (job #1331346)
Borderou de evaluare (job #1331346)
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/ccvAMrso.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 | 264kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 264kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 0ms | 280kb | OK | 10 |
9 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 452kb | OK | 10 |
Punctaj total | 90 |