Pagini recente » Cod sursa (job #3287643) | Atasamentele paginii Tygyn | Rating Mujdar Dacian (dacyan) | Monitorul de evaluare | Borderou de evaluare (job #2644468)
Borderou de evaluare (job #2644468)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:70: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
sum(fr[i&1][cif+1][(j * 10 + v[i-1] - '0') % k], fr[i&1^1][cif][j]);
~^~
main.cpp:30:42: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
sum(fr[i&1][cif][j], fr[i&1^1][cif][j]);
~^~
main.cpp:17:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("diviz.in","r",stdin);
^
main.cpp:18:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("diviz.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 262kb | Incorect | 0 |
| 2 | 3ms | 262kb | Incorect | 0 |
| 3 | 4ms | 262kb | Incorect | 0 |
| 4 | 3ms | 262kb | Incorect | 0 |
| 5 | 5ms | 262kb | Incorect | 0 |
| 6 | 12ms | 262kb | Incorect | 0 |
| 7 | 16ms | 262kb | Incorect | 0 |
| 8 | 24ms | 262kb | Incorect | 0 |
| 9 | 40ms | 262kb | Incorect | 0 |
| 10 | 40ms | 262kb | Incorect | 0 |
| Punctaj total | 0 |