Pagini recente » Borderou de evaluare (job #1351711) | Borderou de evaluare (job #1438350) | Borderou de evaluare (job #1351511) | Borderou de evaluare (job #1115885) | Borderou de evaluare (job #2650473)
Borderou de evaluare (job #2650473)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:71:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<postfix_st.size(); ++i) {
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int get_priority(char)':
main.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:23:36: 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);
^
main.cpp:24:38: 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);
^
main.cpp:26:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", exp);
^
main.cpp:34:26: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
int current_number = 0, res, a, b;
^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 2ms | 131kb | OK | 10 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 2ms | 131kb | OK | 10 |
| 9 | 6ms | 655kb | OK | 10 |
| 10 | 6ms | 655kb | OK | 10 |
| Punctaj total | 100 |