Pagini recente » Borderou de evaluare (job #2630119) | Cod sursa (job #1692455) | Cod sursa (job #1915655) | Atasamentele paginii Profil Best123 | Borderou de evaluare (job #2710051)
Borderou de evaluare (job #2710051)
Raport evaluator
Compilare:
main.cpp: In member function 'InParser& InParser::operator>>(char*)':
main.cpp:38:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while(c = read_ch()) {
^
main.cpp: In function 'bool eval_expr()':
main.cpp:213:22: warning: array subscript has type 'char' [-Wchar-subscripts]
Op[nrop++] = '(';
^
main.cpp:217:22: warning: array subscript has type 'char' [-Wchar-subscripts]
Op[nrop++] = '*';
^
main.cpp:229:22: warning: array subscript has type 'char' [-Wchar-subscripts]
Op[nrop++] = '+';
^
main.cpp:233:22: warning: array subscript has type 'char' [-Wchar-subscripts]
Op[nrop++] = '(';
^
main.cpp: In function 'bool contains(int)':
main.cpp:272:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 1; i <= n; ++i)
^~~
main.cpp:274:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return calcul[repr];
^~~~~~
main.cpp: In member function 'char InParser::read_ch()':
main.cpp:20:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, 4096, fin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 262kb | OK! | 3 |
| 2 | 3ms | 262kb | OK! | 3 |
| 3 | 4ms | 262kb | OK! | 3 |
| 4 | 28ms | 262kb | OK! | 3 |
| 5 | 3ms | 262kb | OK! | 3 |
| 6 | 11ms | 262kb | OK! | 5 |
| 7 | 35ms | 393kb | OK! | 5 |
| 8 | 78ms | 524kb | OK! | 5 |
| 9 | 13ms | 262kb | OK! | 7 |
| 10 | 7ms | 262kb | OK! | 7 |
| 11 | 47ms | 393kb | OK! | 8 |
| 12 | 767ms | 655kb | OK! | 8 |
| 13 | 138ms | 1572kb | OK! | 6 |
| 14 | 202ms | 1966kb | OK! | 6 |
| 15 | 1000ms | 1572kb | Time limit exceeded | 0 |
| 16 | 869ms | 2752kb | OK! | 7 |
| 17 | 691ms | 2228kb | OK! | 7 |
| 18 | 865ms | 1835kb | OK! | 7 |
| Punctaj total | 93 |